This is the mail archive of the cygwin 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: [bash or DLL] Memory leak in childs


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.
HTH,

..mark





--
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


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