Skip to content
fremag edited this page Dec 29, 2016 · 4 revisions

This module displays data about memory segments. For more information about CLr memory, read this article or this one

Here is an example of dump file generated with MemoDummy's script: FragmentedMemoryScript The script tries to allocate big arrays of double and ends with an OutOfMemoryException even if dozens of Mo are available. It fails because it can't find a large enough block of memory due to memory fragmentation.

The result is obvious when sen with VMMap

Here are the data displayed by MemoScope:

Start Length Is Large End Gen 0 Length Gen 1 Length Gen 2 Length Is Ephemeral
25C1000 1,388,052 False 2713E14 1,187,852 144 200,056 True
35C1000 333,288 True 36125E8 0 0 333,288 False
7031000 64,000,032 True AD3A020 0 0 64,000,032 False
C511000 64,000,032 True 1021A020 0 0 64,000,032 False
10511000 64,000,032 True 1421A020 0 0 64,000,032 False
15A81000 64,000,032 True 1978A020 0 0 64,000,032 False
19A81000 64,000,032 True 1D78A020 0 0 64,000,032 False
1F561000 64,000,032 True 2326A020 0 0 64,000,032 False
23561000 64,000,032 True 2726A020 0 0 64,000,032 False
28561000 64,000,032 True 2C26A020 0 0 64,000,032 False
2C561000 64,000,032 True 3026A020 0 0 64,000,032 False
32B21000 64,000,032 True 3682A020 0 0 64,000,032 False
36B21000 80,000,032 True 3B76C420 0 0 80,000,032 False
3BB21000 64,000,032 True 3F82A020 0 0 64,000,032 False
3FB21000 64,000,032 True 4382A020 0 0 64,000,032 False
44B21000 64,000,032 True 4882A020 0 0 64,000,032 False
48B21000 64,000,032 True 4C82A020 0 0 64,000,032 False
4DB21000 64,000,032 True 5182A020 0 0 64,000,032 False
5C6C1000 64,000,032 True 603CA020 0 0 64,000,032 False
616C1000 64,000,032 True 653CA020 0 0 64,000,032 False
656C1000 64,000,032 True 693CA020 0 0 64,000,032 False
77AD1000 64,000,032 True 7B7DA020 0 0 64,000,032 False