Memory Profiling Crash
billb
Posts: 7
I just purchased version 3.x of the software and attempted my first memory profile. Performance profiling seems to works well (which is what I tried throughout my evaluation). Whenever I click "Get Snapshot" the disk churns for awhile and then my application crashes which then causes ANTS to throw out whatever data it has collected because my app terminated abnormally.
It looks remarkably similar to this problem reported some time ago.
http://www.red-gate.com/MessageBoard/vi ... php?t=4721
The application is compiled against 2.0 of the framework and I'm profiling on Vista. Let me know if there is any other information that you feel is relevant.
It looks remarkably similar to this problem reported some time ago.
http://www.red-gate.com/MessageBoard/vi ... php?t=4721
The application is compiled against 2.0 of the framework and I'm profiling on Vista. Let me know if there is any other information that you feel is relevant.
Comments
What is the exception generated by the 'crash'? We may have a patch available to fix the problem.
Again, I'm having no problems w/ performance profiling.
You may be onto something there. An AppDomain.Unload may cause .NET 2.0's so-called critical finalizer to kill the pipe connection between your application and ANTS Profiler. There is no way for us to prevent this from happing if this is the problem unless we can stop the finalizer thread from closing the named pipe.
There is a knowledge base page about this -- although it specifically relates to performance profiling, it may also be relevant to you.