org.springframework.boot.actuate.management

Interface HeapDumpWebEndpoint.HeapDumper

    • Method Detail

      • dumpHeap

        void dumpHeap(File file,
                      boolean live)
               throws IOException,
                      InterruptedException
        Dump the current heap to the specified file.
        Parameters:
        file - the file to dump the heap to
        live - if only live objects (i.e. objects that are reachable from others) should be dumped
        Throws:
        IOException - on IO error
        InterruptedException - on thread interruption