Malloc array size limit (2)

Max Bowsher maxb@ukf.net
Tue Mar 4 20:09:00 GMT 2003


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/



More information about the Cygwin mailing list