HeapDump

Bukkit Plugins
415 Downloads Last Updated: Oct 28, 2014 Game Version: CB 1.7.9-R0.2  

This plugin will generate a heap dump of the server process in the root directory with the specified filename.

Heap dumps are useful to analyse where memory is being used and to find the source of memory leaks.

Many shared hosting minecraft server administration panels such as Multicraft and McMyAdmin don't let you generate a heap dump via command line to analyse for memory leaks, so I thought I'd make this plugin to make it easier and more feasible to generate heap dumps.

Commands:
/dumpheap <filename>
Creates a heap dump of the server's used memory with the specified file name in the server's root directory. It will be saved with the .hprof extension.

/dumpdir
Displays the server's root directory where the heap dump will be saved.

Permissions:
heapdump.dumpheap - Permission for /dumpheap
heapdump.dumpdir - Permission for /dumpdir

Permissions default to OP only.

Comments

Posts Quoted: