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]

Re: heap_chunk_in_mb reg entry !?


Hi,


> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\
> 
> Create a new DWORD value there called "heap_chunk_in_mb" that contains the
> maximum amount of memory (in Mb) your application needs (watch the
> hex/decimal toggle). Exit and restart all cygwin applications. 
> The default is 128 (i.e. 128Mb) if no registry key is set.

Hm, I created HKEY_CURRENT_USER\Software\Cygnus
Solutions\Cygwin\heap_chunk_in_mb
and set it to 640 decimal (I have 640MB RAM). I restarted all cygwin
programs (I even rebooted) but it didn't help. Whenever the program
tries to allocate more than 240MB I get an out of memory error. 

So the program can allocate more than the default 128, but can't get
500MB as it wants. Any idea what's going on ????


	Axel Kowald


P.S. From the windows side the 640MB are recognized without problems.
That means the TaskManager reports that 640MB are available.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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