This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: memory problems


derek riley wrote:
Hello-
I am a fairly new c++ user and I need help dealing with very large
arrays.  I have run into problems in my program because I need to use
VERY large arrays (hundreds of millions of elements) and the heap size
seems to be fixed not allowing me to use more than 64K.  Is there a
simple way to allow for a larger heap or another place I can store the
array?  Thanks

you neglect to say what system you are using. The amount of stack space available is generally a system property.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]