Pull requests and bug reports always welcome
Please note, this is a work in progress and we have a few more features to implement before packaging and release our first version
A standalone heap analysis tool, based on JHat (which is packaged with the JDK), rewritten using Scala and modern libraries.
As a professional developer JHat has saved my JHat has saved my life on many occasionally (esp at 3am). But JHat has been shown very little love since it was first built
- Awful display
- Did we mention the memory and the bugs?
[X] Modern web engine (Spray/Spray http) [X] Improved layouts (Bootstrap + CSS) [ ] Memory Overflow to disk [ ] Dynamic loading? [ ] Retained size calculations [ ] Better display of scala/java collections classes [ ] A new query API based on scala repl [ ] Proper tests (code coverage about 90% right now)
SHelmet is packaged as a standalone jar including all of its dependencies so simply download it and use it as below.
To analyse a heap simply
| java -jar shelmet-0.1.jar +heapfilename+
and then simply use a web browser to go to http://localhost:8080
If you run on a remote machine simply switch 'localhost' for the machine name or ip address.
You can then explore the heap dump via the web browser page.
This project is written in scala and built using sbt. Pull requests are very welcome!
As the Shelmet is based on the OpenJDK JHat is is considered a derivative work and is thus licensed under the same GPL V2.0 (Please see LICENSE.txt)
By choice I would have used something a little more flexible.
Some included components are distributed under their own licenses:
- htmlshiv.js - licensed under MIT and GPL 2
- Twitter Bootstrap - licensed under Apache License, Version 2.0
- jquery licensed under MIT License