This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: memory problems
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: derek riley <derek dot riley at vanderbilt dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 10 May 2005 17:11:00 +0100
- Subject: Re: memory problems
- References: <000a01c55579$ed43e260$e8593b81@LEROY>
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