Red Gate forums :: View topic - GDI objects counts steadily increasing
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler Previous Versions
ANTS Memory Profiler Previous Versions forum

GDI objects counts steadily increasing

Search in ANTS Memory Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
pavelre



Joined: 13 Oct 2009
Posts: 1

PostPosted: Tue Oct 13, 2009 4:38 pm    Post subject: GDI objects counts steadily increasing Reply with quote

Hello,

We have situations where the task manager reports steadily increasing GDI counts as the user does something repeatedly, but comparing ANTS memory profiler snapshots shows there is no difference between snapshots.

Looking through class list we do not see any classes related to controls or forms. Is there any GDI object retention graph? Or how we can detect through object retention graph potential GDI objects?

Does the memory profiler have counter for GDI objects? Are there any other counters we can use to get an equivalent of GDI objects of task manager?

We are developing 3.5 .NET WinForm application with Infragistics controls, CAB, and we are hosting WPF control.

Thanks,
Pavel
Back to top
View user's profile Send private message
StephenC



Joined: 15 Oct 2007
Posts: 315
Location: Cambridge

PostPosted: Tue Oct 13, 2009 4:53 pm    Post subject: Reply with quote

If you application is leaking GDI handles it could be because some managed objects aren't being disposed.

If you check the filter "On the finalizer queue but not disposed" you may get a list of the objects that are remaining.

Stephen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group