[bash or DLL] Memory leak in childs

Mark Geisert mark@maxrnd.com
Mon Jul 18 05:02:00 GMT 2011

AZ 9901 writes:
> I think I have found a memory leak in bash (or perhaps in DLL fork
> implementation, I don't know).
> Just launch the following test loop having a look at Windows Task
> Manager, Page File Usage tab :
> while [ 1 ]
> do
> test=$(echo test)
> done
> Memory usage is constantly growing.
> Once Cygwin closed, memory is still used, not released.

Something so fundamental would have been corrected long ago if folks were seeing
it in general.  I don't see it on my system, for instance.  It is far more
likely you've got BLODA.  See
<http://cygwin.com/faq/faq.using.html#faq.using.bloda> for details.

Note that you might have BLODA that's not on that list yet because nobody's
reported it as BLODA.  Also note that disabling the BLODA might not make any
difference; you have to remove it from your system to know for sure whether it
was the problem.  The above Web page gives the gory details why this is so.


Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list