On Fri, Oct 10, 2008 at 07:03:26PM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote: >Speaking of "Changing Cygwin's Maximum Memory" ><http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html> ... > >Curiously (since I've never played with heap_chunk_in_mb), when I tried >max_memory.exe I got the exact same result as you did. > 5fffe000 bytes (1536.0Mb) >So I recompiled it with the much-reviled-and-soon-to-be-eliminated >-mno-cygwin flag. Interestingly, the result was different. > 77ffe000 bytes (1920.0Mb)
Cygwin uses Doug Lea's malloc implementation which can allocate discontiguously so the example in the abovementioned URL is wrong. It does not reflect the largest chunk of memory that could be allocated, which is what heap_chunk_in_mb controls. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/