| Author |
Message |
shannonma
Joined: 07 Jan 2009 Posts: 1
|
Posted: Wed Jan 07, 2009 1:51 pm Post subject: Live objects doesn't signify memory leak |
|
|
My Windows service is leaking memory. It runs for 30 minutes and grows to ~800 MB of memory. A snapshot is taken, however the snapshot only shows 17 MB worth of live objects. After the snapshot is taken, the service goes down to 288 MB, however the VM size of the process appears to be at 1.4 GB.
I'm having problems debugging this issue, as it looks fine in ANTS. Has anyone experienced this before? |
|
| Back to top |
|
 |
Bart Read
Joined: 31 Mar 2005 Posts: 974
|
Posted: Wed Jan 07, 2009 2:22 pm Post subject: |
|
|
Hi there,
Are you using COM interop at all? Note that ANTS Profiler can only tell you about managed memory usage, and not unmanaged, so if you are using interop, even if indirectly, and resources aren't being freed properly (e.g. by calling Dispose()). At the moment this is quite tricky to do, however our new version of the memory profiler will support tracking of objects that implement IDisposable.
Sorry I can't be more help at the moment.
Thanks,
Bart _________________ =============================
Bart Read
Red Gate Software Ltd
============================= |
|
| Back to top |
|
 |
|
|
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