Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
- Posts: 1
- Joined: Thu Sep 10, 2015 4:06 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: 1028
- Joined: Wed Mar 02, 2005 7:53 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"?
SciTech Software AB
Users browsing this forum: Google [Bot] and 33 guests