Silvio a Beccara wrote:
Hello,
is it possible to increase heap dimensions? I am running a GPC program which uses "big" dynamic arrays of double precision floats (up to 200 x 500) and, while it runs fine with smaller dimensions, from 128 x 256 up I get the following error:
/u/dms/abeccara/pimc/parpi/pimb: out of heap when allocating 629145608 bytes (error #853 at 8071a32)
I wasn't getting this error when using an older GPC version 2.1 (20020510), based on gcc-2.95.2 19991024.
GPC should not limit your memory use -- at the bottom layer it just uses `malloc'. Note that seemingly small change to the system can significantly change memory allocation. So first check that all other factors are equal.
If you are allocating _one_ array of 630Mb then the failure is very strange, even if something else has changed.
If the same program (source) compiled by GPC 2.1 can allocate 630 MB, but program compiled by current GPC can not (running on the same system) then most likely we have a bug, either in GPC or in your program.
But to find a bug we need to reproduce it, and ATM we have almost no details how.