Activity overview
Latest activity by TormodS
Thanks for coming back to me.
So, am I understanding you correctly that I am looking for a static field of type System.Collections.Array<MyNamespace.OmmObjectDataSet>? So going to OmmOjbectDataSet in my code and seeing where it is used should list the culprit?
What should I do if there is no such field?
Are there (compiler) optimizations that I can switch off that will help me in finding the culprit?
For instance that the compiler will not use array under the hood for some other collection type, or that it will not attempt to "use base type where possible" or some such thing?
For instance, I found that Refactoring to method and preventing inline expansion of that method forced variables out of scope and it significantly changed the ANTS result. This was a variable that was declared in a "using" statement with a subsequent GC.Collect() before snap shot was made, so I didn't expect managed objects to be retained. / comments
Thanks for coming back to me.
So, am I understanding you correctly that I am looking for a static field of type System.Collections.Array<MyNamespace.OmmObjectDataSet>? So going to OmmOjbectDataSet ...
How to interpret the GC->System.Object[]->MyObject path in the Object Instance retention graph.
Hi.
As demonstrated in the first picture of this example:https://documentation.red-gate.com/amp8/working-with-profiling-results/the-instance-retention-graph
....One possible GC retention path is th...