How can we help you today? How can we help you today?

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?
shannonma
0

Comments

1 comment

  • Bart Read
    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
    0

Add comment

Please sign in to leave a comment.