Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] How to debug GDI object leak

Randy Hudson wrote:

I am using M4 and am seeing issues with GDI Objects leaking. I have tried using Sleak, but according to it, there are no Images, etc., that are being leaked. Yet, my GDI Object count can grow to 10,000, and Windows XP will "blue screen" eventually. Is it possible that Sleak is not report all resources?

Images created with Image.win32_new do not register with SLeak....

It's supposed to be an internal function and it is not supposed
to be used in SWT code, but if you use it, SLeak will not
trace images created by this function....

Michael




Back to the top