User's Guide

Memory usage by application, class, and method

EsMemoryUseReport can also produce a list of the memory used by all the instances of the classes in the system. This list is sorted by size and provides the user with a quick view of what is in an image.

To get a report for the entire image, use the following:

EsMemoryUseReport countAllMemory

A list, similar to the following, is printed to the Transcript. The first column shows the number of instances. The second column shows the total bytes used, including object headers.

Array                      60738     4067856
CompiledMethod             45219     2230256
EsByteCodeArray            20959     1679476
String                     26564     1029320
Symbol                     29594      938612
...


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]