Problem:. What is the best way to have a comprehensive view of using the roles / death / memory of ALL objects created during the lifetime of an application? (graphical report will be better)
Why such a question: Among many others, the idea is to identify long-lived objects that can never be collected by the garbage collector or cause memory problems (such as heap / stack problems or so on) and provide valuable information for effective life management object loops
(I actually just spent the whole night debugging a multi-threaded application to finally notice that the “considered remote / updated” object was actually still alive and crashed the server’s memory.)
VS2010 Performance Wizard and Profiler can be a good starter ... I came across several ways to do this programmatically, but it included wrapping objects individually (painstaking rather than seamless code)
I am looking for something similar to this:
Application START[-----------------------------------------------------------]END Object 1 [---------------------------] Object 2 [---------------------------] Object 3 [-----------------------------------------------------]
source share