EsMemoryUseReport allows you to compute the amount of nongarbage storage allocated by an executing block. The amount of nongarbage storage allocated by the block is the amount of memory that is still in use after the block finishes execution.
EsMemoryUseReport uses the memory reporting primitives to compare the state of memory after the execution of the block to the state before the execution. Any increase is reported to you. You can use the default set of classes (all classes in the image), or a subset of classes that are of particular interest to you.