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: cygwin memory leak


>
>> The taken memory is never
>> freed until os restart.
>
>I donât think Cygwin could do that even if it wanted to, given that you
>donât have any Cygwin services running.  Once the last Cygwin process
>dies, the OS *will* release the memory it was holding.

It does, however, seem vulnerable to fork bombs, like:

$cat dontdothis

#!/bin/sh
while (( 1 )); do
/bin/true
./dontdothis &
done

:)

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

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