Question: Mafft 7.0 "Allocation error"
gravatar for luca
4.0 years ago by
Bermuda Institute of Ocean Sciences
luca0 wrote:

Hi everyone! I was trying to align 12S sequences into Mafft and I got this error message, while the program was calculating the distance matrix:

Making a distance matrix...

Allocation error( 541556284 int vec )

I found where, inside the program (this is the link:, the error is generated (line 239 in the link), but I do not understand the programming language, so I was hoping if someone could tell me what is happening and why I get this error...

All the help is more than welcome!



alignment gene software error • 1.6k views
ADD COMMENTlink modified 4.0 years ago • written 4.0 years ago by luca0

First Link is not working, and the error is from line 245 to 250 reason is

tri = (float **)calloc( (unsigned int)ll1+1, sizeof( float * ) );

as the error declared there is no enough memory to allocate this variable for your run can you write info about the machine, OS tht you run the program on; I think it is memory issue

ADD REPLYlink modified 4.0 years ago • written 4.0 years ago by Medhat8.8k

Sorry, I realised I made several mistakes in my post... This is the correct link:

The error should be in line 229 and not 239... The machine is a server with CentOS 7 and 1TB RAM.

ADD REPLYlink written 4.0 years ago by luca0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1848 users visited in the last hour