problem allocating large amount of memory

Josip Loncaric josip at lanl.gov
Thu Dec 4 15:05:17 EST 2003


In addition to Mark's very helpful address space layout, you may want to 
consult this web page:

http://www.intel.com/support/performancetools/c/linux/2gbarray.htm

which saye:

"The maximum size of an array that can be created by Intel® IA-32 
compilers is 2 GB."

due to the fact that:

"The default Linux* kernel on IA-32 loads shared libraries at 1 GB, 
which limits the contiguous address space available to your program. You 
will get a load time error if your program + static data exceed this."

Intel offers several helpful hints on being able to declare larger 
arrays (e.g. -static linking, etc.).

Sincerely,
Josip

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list