bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory leak in GNUstep


From: Fred Kiefer
Subject: Memory leak in GNUstep
Date: Sat, 05 Apr 2003 22:59:17 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903

There seems to be a new memory leak in GNUstep that can be most easily seen in GSTest.app.

1) Start up GSTest.app.
2) Select the Info Panel from the menu.
3) Start the Memory Panel by clicking the image.
4) Hit Update a few times.

You will notice that the number of GSUnicodeInlineString keeps on increasing by 132. This is 8 times the 16 lines in the table plus 4 (perhaps the header?). My first thought was that this may come from the Memory Panel itself, but this code looks sound to me. The next suspect was the table view, but further tests did bring up a similar leak for other drawing operations. So now I am thinking about the new string drawing code as a possible source of the leak. But there is also a striking similarity in the number of leaked GSUnicodeInlineStrings and the total number of GSNotifications used by the application.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]