This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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: Malloc array size limit (2)


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/


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