problem allocating large amount of memory

Roland Krause rokrau at
Thu Dec 4 14:40:30 EST 2003

thanks a lot for your help. 
Please find attached a little test program. I use

g++ -O -Wall memchk.cpp -static -o memchk

Afaik size_t is unsigned long on 32 bit systems and long long is the

I've linked the code first dynamic then static with no differences in
the amount I am getting. 


--- Bill Broadley <bill at> wrote:
> ACK, sorry, I missed the mention of running Redhat-9.
> Do you have an example program?
> Did you link static or dynamic?
> Is it possible your process has 0.05GB of memory used in some other
> way?
> -- 
> Bill Broadley
> Information Architect
> Computational Science and Engineering
> UC Davis

Do you Yahoo!?
Free Pop-Up Blocker - Get it now
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memchk.cpp
Type: text/x-c++src
Size: 636 bytes
Desc: memchk.cpp
URL: <>

More information about the Beowulf mailing list