Memory Allocation Problem

Eljay Love-Jensen eljay@adobe.com
Wed Sep 15 12:02:00 GMT 2004


Hi Ankit,

Your OS probably does not provide that many megabytes of STACK space.

Allocate your enormous 2-dimensional array on the HEAP or in the BSS or in 
the DATA areas instead.

Or check out if your can adjust the size of your STACK to around 32 
MB.  That might be a linker option.  Depends on your OS.

HTH,
--Eljay



More information about the Gcc-help mailing list