Class MemoryDumper

  • All Implemented Interfaces:
    ActionExecutor

    public class MemoryDumper
    extends Object
    implements ActionExecutor
    MemoryDumper class is used to do Heap dump for given process. This class use Java Runtime environment and jmap command to do memory dump.
    • Constructor Detail

      • MemoryDumper

        public MemoryDumper()
    • Method Detail

      • execute

        public void execute​(String filepath)
        Method used to do memory dump with using Java Runtime Environment and jmap command.
        Specified by:
        execute in interface ActionExecutor
        Parameters:
        filepath - file path of the dump folder
      • execute

        public void execute()