XFree leaking memory?

Harold L Hunt II huntharo@pilot.msu.edu
Tue Nov 5 08:35:00 GMT 2002


Konstantin,

Interesting.  So, this appears to be a new memory leak that has nothing to
do with rootless mode.

At this point I think we will need suggestions from others as to how we can
find the source of this memory leak.

There are not too many calls in the Windows-specific portion of XWin.exe
that could result in continual memory leaks like this.  However, I hope that
the bug is in the Windows-specific portion of XWin.exe and not in either the
rest of the XWin.exe code or in cygwin1.dll.  Finding a memory leak in
either of those would be tedious.

Anybody got any suggestions?

Harold

-----Original Message-----
From: cygwin-xfree-owner@cygwin.com
[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Konstantin N. Kudin
Sent: Monday, November 04, 2002 8:49 PM
To: cygwin-xfree@cygwin.com
Subject: Re: XFree leaking memory?


 Harold

 I do not think I am using "-rootless" since I am running the standard
*.bat file supplied with XFree and have a separate workspace for X. So
this leak appears to be a separate issue.

 Is there a way to generate memory usage statistics for X?

 Konstantin

On Mon, 4 Nov 2002, it was written:

> Konstantin,
>
> Are you using the ``-rootless'' command-line parameter?  If so, the
> developer of that feature mentioned that there was a memory leak and
> that he was working on fixing it.  If not, then we might need to look
> into your problem as a previously unknown problem.
>
> Harold
>
> Konstantin N. Kudin wrote:
>
> > Hi all
> >
> > I am using the cygwin + xfree combination for my X server.
> >I run the program for days on a W2k laptop and put the machine on stand
by
> >every night. W2k and xfree are restarted quite infrequently (once every
> >2-4 weeks).
> > I have noticed in Task Manager that XWin process slowly but surely grows
> >in size adding about 2Mb every day. It starts from 13 Mb but over the
> >course of few days may become as large as 150 Mb (I have seen that). I
> >tried to update XFree to the latest version a couple of weeks ago yet it
> >did not stop growing in size.
> > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and
> >other things from other machines.
> > I am curious if the developers are aware of/working on this issue?
> > I could provide more details if needed/technically possible.
> >
> > Sincerely,
> > Konstantin
> >
>



More information about the Cygwin-xfree mailing list