Mail Archives: cygwin/2001/03/21/14:52:02
I have a fairly large application that is having trouble allocating
memory under cygwin. On linux and solaris it works just fine.
For some reason, malloc is returning NULL. I have seen the archives, but
I can't find anything that relates to this particular variant of the
malloc failing issue.
The window's task manager shows that my process is only using about 21M,
and the allocation that fails is an 8K allocation. So I doubt that I am
at the limit of available memory (just linking the program itself takes
about 50M, so it seems like the memory is out there.)
Why would malloc fail under these circumstances? I am not near the 128M
limit mentioned in some posts (and have tried bumping it up anyway). It
seems unlikely that fragmentation is the issue, as 21M consuming a 2G
address space would require some extremely severe fragmentation.
Has anyone seen or solved this problem before?
I'm using the latest DLL.
Thanks,
Sterling Augustine
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -