Questions about Memory Profiler

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.

Moderator: SciTech Software

Questions about Memory Profiler

Postby stever » Thu Sep 10, 2015 4:10 am

I was wondering why there are thousands of string objects and hundreds of Byte[] and Int32[]? Most of them are not my code. Where do they come from?

And what does the 'Number of large fragments' section under the title 'Memory fragmentation' mean? Because it shows 2 (100% of free memory). What exactly is this?

Convert legacy system
Posts: 1
Joined: Thu Sep 10, 2015 4:06 am
Location: Bangladesh

Re: Questions about Memory Profiler

Postby Andreas Suurkuusk » Fri Sep 11, 2015 2:45 pm

Strings, byte arrays and int arrays are commonly used by the .NET Framework. Even though you are not creating them directly, they are often created indirectly by many operations. You can get more information about why the objects are created by investigating the call stacks of them. The instance graph under Type details and Instance details will also give you an idea about why they exist.

2 large heap fragments means that the memory used by the large object heap is allocated in two memory blocks. We don't present "% of free memory" number. Where did you see "100¤ of free memory"?
Best regards,

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

Return to Using .NET Memory Profiler

Who is online

Users browsing this forum: No registered users and 3 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


Telephone: +46-706868081