Memory folding

Use this forum to discuss and/or suggest future improvements of .NET Memory Profiler and to report bugs.

Moderator: SciTech Software

Memory folding

Postby lakr1 » Mon Feb 20, 2012 5:47 pm

Hello,

I was watching an really interesting recording of Vance Morrison at Channel 9 (http://channel9.msdn.com/posts/NET-45-V ... provements) where he was talking about a new tool that was going to be able to fold all those string, object arrays that always are at the top of a most used type of objects into its owning object. That would be a really nice feature in .Net Memory Profiler aswell.

Please watch the video to get a better explenation.

Regards
Lars Krog-Jensen
lakr1
 
Posts: 1
Joined: Mon Feb 20, 2012 5:40 pm

Re: Memory folding

Postby Andreas Suurkuusk » Mon Feb 20, 2012 7:41 pm

As far as I understand, the folding is the same as the held instances/bytes presented in .NET Memory Profiler. This value is currently not presented in the Overview, but you can see it in the Type and Filter details. If you select the filter "All instances and allocations", you can then sort by "Max held bytes". This will give you information about the instances with the highest amount of "folded" bytes (see screenshot).

maxheldbytes.png
Max held bytes
maxheldbytes.png (58.25 KiB) Viewed 6691 times


One thing that is missing in .NET Memory Profiler is "combined held bytes", e.g. the total held bytes for all instances of a specific type. Since held instances will overlap, it's not possible to just sum the held bytes values, it must be calculated for all involved instances at once. This is something that will be included in the next version.

For more information about held instances/bytes, see the online documentation.
Best regards,

Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
 
Posts: 957
Joined: Wed Mar 02, 2005 7:53 pm
Location: Sweden

Re: Memory folding

Postby marry9091 » Thu Dec 13, 2012 11:40 am

Nice post ... thanks 4 this informative post .... keep it up
Lawson
marry9091
 
Posts: 1
Joined: Thu Dec 13, 2012 11:38 am


Return to Future Improvements

Who is online

Users browsing this forum: No registered users and 2 guests

SciTech Software logo

© Copyright 2001-2016. SciTech Software AB
All rights reserved.


SciTech Software AB
Kartvägen 21
SE-175 46 Järfälla
Sweden


E-mail: mail@scitech.se

Telephone: +46-706868081

cron