This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Malloc array size limit (2)
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Fabrizio Impagnatiello" <f dot impagnatiello at roma dot alespazio dot it>,<cygwin at cygwin dot com>
- Date: Tue, 4 Mar 2003 20:04:30 -0000
- Subject: Re: Malloc array size limit (2)
- References: <20030304195846.05EB79FC63@mail.roma.alespazio.it>
Fabrizio Impagnatiello wrote:
> Again on same issue.
> if I compile the following source with -mno-cygwin option, the EXE
> code allocating up to 1 GByte runs good.
> If the option is removed, the cygwin1.dll fails.
Well, obviously, if you don't use cygwin, then you don't get any limits it
imposes. I suggest you try setting heap_chunk_in_mb using the *exact*
regtool invocation given here:
http://cygwin.com/cygwin-ug-net/setup-maxmem.html
And then *make sure you have closed all cygwin processes*. Reboot if
necessary. Then retry.
Max.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/