This is the mail archive of the
mailing list for the Cygwin project.
Re: Win2k and cygwin memory leak
- From: Rolf Campbell <Endlisnis at mailc dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 06 Aug 2003 21:31:50 -0400
- Subject: Re: Win2k and cygwin memory leak
- References: <3F30D849.8D2AA00C@itsec-ss.nl>
Well, you could look at the task manager to see where all the memory is
going (you can enable current memory allocation per process columns).
Also, you could use 'ps' to see if old cygwin processes are still running.
R. Boon wrote:
I noticed a problem with cygwin. It seems that some installations of
cygwin running on windows 2000 are leaking memory. The memory leak is
located in some kernel part of the operating system since it is not
cleaned up after all user space applications are close.
This issue is reported previously to the cygwin list. This issue is
reported as a make failure:
And as an issue with fork:
I can confirm the reported symptoms. Every time I start a child process,
I loos some memory. Once all my memory and swap is depleted, I cannot
start new applications. Even closing running applications causes
trouble. A reboot is needed to restore the system.
As an additional symptom I get the following question when I quit
Terminate batch job (Y/N)?
This seems to indicate that child processes are not terminated and/or
completely removed from memory.
I tested this issue on four hosts
1. a Win2k SP4 with Cygwin 1.3.22 (128 Mb)
2. a Win2k SP4 with Cygwin 1.5.1 (128 Mb)
3. a Win2k SP4 with Cygwin 1.3.22 (192 Mb)
4. a Win2k SP4 with Cygwin 1.3.22 (256 Mb) <- not affected
Host nr. 4 is not affected by this issue. None of the tests lead to even
the slightest sign of a memory leak. All systems are installed with the
basic cygwin install using the setup.exe program from www.cygwin.com
Is there a solution to this issue that is never posted? Has anyone with
the same issue tried to fiddle with a memory limit setting of some sort?
(and did is work?)
Thank you for your time
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html