Prof. A Olowofoyeku (The African Chief) wrote:
On 21 Jul 2005 at 18:43, 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)
Sounds like a unix quota thing. Can't remember the command for changing default stack and heap allocations (there is a command line tool for it) - perhaps unix gurus here will remember?
Depends on the shell, unfortunately:
csh, tcsh: limit
most other shells (sh, bash, etc.): ulimit
There are "soft" and "hard" quotas. Normal users can increase the soft quota up to the hard quota. Only root can increase the hard quota.
Frank