AMBER Archive (2003)Subject: Re: AMBER: xleap memory issue
From: Bill Ross (ross_at_cgl.ucsf.edu)
Date: Tue Aug 26 2003 - 19:52:40 CDT
!FATAL ERROR----------------------------------------
!FATAL: In file [varArray.c], line 371
!FATAL: Message: Realloc: Not enough space!
!ABORTING.
I cannot determine how to increase the maximum array size in the
varArray.c file. What can I do to fix this problem?
Looking at line 371 per the error msg:
REALLOC(header->data , char*, header->data, header->size * nslot );
Looking for the definition of REALLOC() (grep REALLOC *.h)
# define REALLOC( dest, type, src, size ) { \
(dest) = (type) realloc( src, size ); \
if ( (dest)==(type)NULL ) { \
DFATAL(( "Realloc: %s", strerror(errno) )); \
}}
>From this you can see that it calls realloc(). Looking at that
(man realloc):
ERRORS
The malloc(), calloc(), realloc(), and valloc() functions set errno to the
specified values for the following conditions:
[ENOMEM] Insufficient storage space is available.
So the system is not giving the dynamically-allocated memory
you need. Possibly if you bump your memory limit by
% unlimit datasize
it will do the trick. 'limit' should show what your limits are.
Bill Ross
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
|