Joined: 05 Feb 2013
|Posted: Tue Feb 05, 2013 1:32 pm Post subject: First attempt at Memory Profiler
This is my first attempt at using Memory Profiler for my Windows Forms .NET application and after viewing various pages, it seems as if understanding everything is a minefield. Therefore to get me underway, could you advise me on whether the following summary values are good or bad?
Total size of live objects:
Total size of objects in baseline snapshot: Baseline not set
Total size of objects in snapshot 57 (53:25): 2.909MB
Difference in size between snapshots: Baseline not set
Total number of fragments: 20
Number of large fragments: 1 (95.8% of free memory)
Wastage due to small fragments: 85.13KB (4.16% of free memory)
Largest fragment: 1.913MB (95.8% of free memory)
*** No issues with large object heap fragmentation were detected ***
.NET and unmanaged memory:
Generation 1: 0 bytes
Generation 2: 2.757MB
Large Object Heap: 170.4KB
Unused memory allocated to .NET: 1.997MB
Free space: 1.997MB
Other classes: 1.708MB
I think I should be concentrating on the Unmanaged memory. Perhaps the biggest cause of this is the use of Crystal Reports and Adobe Flash (.swf) being loaded.
I look forward to your responses and many thanks in advance for your assistance.