[JDEV] memory leakage

David Waite dwaite at jabber.com
Tue Apr 24 08:55:14 CDT 2001


Wow, this doesn't sound Jabber-related at all :-)

It actually sounds like you are testing or just running on Windows 9x
(and not NT/2000), and you have found a system resource leak.

See, when you create a drawable system resource in Windows, you are
pulling that structure from a fixed-sized list. for 3.1 and 9x releases,
there is one group for the system, for NT there is a group per
application. Once you run out, applications won't be able to load the
graphics, fonts, etc they need to draw and will draw basically randomly.

The only solution I have found is 1) upgrade to NT/2000 or 2) review the
code for drawing-context leaks.

-David Waite

Dillip Kumar Swain wrote:

> Hi
> I have an application which has serious memory leakage . It gradually
> eats up total systems resources in 2-3 Hrs. Causing other application
> lose their toolbars, change in font etc. When i close 1-2 (other
> application) everything becomes normal but only for 15-20 minutes.
> Can anyone tell me how to pinpoint the erring source code??
> Please help me out , this is URGENT.
> thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20010424/434bfc0d/attachment-0002.htm>


More information about the JDev mailing list