[Beowulf] Increasing "size" of program

Joe Landman landman at scalableinformatics.com
Wed Jun 29 18:14:34 PDT 2005

Hi Jorge:

   You have what is classically known as a memory leak.  Usually this 
happens when you allocate memory in a routine somewhere, and it never 
gets deallocated and returned.   Most often this is due to source code 
issues, sometimes due to bad compiler implementation or libraries, and 
occasionally you hit an OS bug (on old Linux kernels).

   There are some tools to help with this, but plain old fashioned 
debugging is the best bet.


jorgegg at sas.upenn.edu wrote:
> Hi all,
> I'm running a fortran90 program in a 7 nodes cluster. Each node has 512M of RAM.
> My problem is that the "size" or memory usage of my program keeps increasing as
> time goes by, so eventually it stops when one of the nodes reaches the RAM
> limit. I already tried to use the ALLOCATE/DEALLOCATE expressions. They worked
> as the initial size of the program decreased dramatically but anyway, it keeps
> increasing! I'm sure there's no other array to be deallocated. Moreover, my
> program is an optimization routine so it iterates over the same computations
> which means that there's no reason for the program to increase the memory usage
> since it's solving the same thing!
> Does anybody have an idea of how could I make the program to keep the memory
> usage more stable?
> Thanks a lot,
> Jorge Gallardo-Garcia
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics LLC,
email: landman at scalableinformatics.com
web  : http://www.scalableinformatics.com
phone: +1 734 786 8423
fax  : +1 734 786 8452
cell : +1 734 612 4615

More information about the Beowulf mailing list