Class HeapDump

java.lang.Object
com.illumon.util.HeapDump

public class HeapDump extends Object
A simple method for generating a Heap dump for this JVM.
  • Constructor Details

    • HeapDump

      public HeapDump()
  • Method Details

    • heapDump

      public static void heapDump() throws IOException
      Throws:
      IOException
    • generateHeapDumpPath

      public static String generateHeapDumpPath()
    • checkConfiguredHeapDumpPath

      public static void checkConfiguredHeapDumpPath(com.fishlib.configuration.Configuration configuration)
    • heapDump

      public static void heapDump(String filename) throws IOException
      Throws:
      IOException
    • setupHeapDumpWithDefaults

      public static void setupHeapDumpWithDefaults(com.fishlib.configuration.Configuration configuration, Predicate<RuntimeException> ignore, com.fishlib.io.logger.Logger log)
    • main

      public static void main(String[] args) throws IOException
      Throws:
      IOException