Page 1 of 1
Application Memory Usage
Posted: Mon Aug 22, 2005 7:57 pm
Why is it that when I'm running my application through the profiler a large amout of memory is getting used? This does not occur when we donot use the profiler.
Posted: Tue Aug 23, 2005 2:53 pm
The profiler itself uses substantial amounts of memory to keep track of all allocated instances and call stacks. Additionally, the amount of unidentified memory increases when running under the profiler (especially when native memory profiling is not active). We have tried to identify why the memory usage differs so much when running under the profiler. We have not been able to find an answer, but we believe that the runtime has different memory characteristics when running under the profiler.
In the next version the native memory profiling is replaced with "low impact profiling" (it's almost the same thing, except that "low impact profiling" actually performs a GC when collecting a snapshot). This will lower the memory overhead when profiling, and you will get more accurate native memory information, however some features will be disabled (e.g call stacks will not be presented).