Showing posts with label garbage collection. Show all posts
Showing posts with label garbage collection. Show all posts

Wednesday, 22 December 2010

Debug - Heap and memory allocation

So Java comes with these tools now:

jconsole
jvisualvm


But there is also this neat little tool allowing you to look inside the heap and see how the memory is allocated

jmap -heap <process id>


Free simple profiler - JIP

'Heavy' profiling