Author |
Message |
26/03/2010 13:38:36
|
hilka
Power User
Joined: 23/11/2007 09:00:08
Messages: 191
Offline
|
There were already two posts about profiling tools in this forum, but now we found an (in our eyes) perfect replacement for both tools: VisualVM
It is included in the Standard JDK (from JDK 6 Update 7), there is also a separate download for it (https://visualvm.dev.java.net/). This tool included both performance and memory profiling. It is very easy to set up: Just start the program and select the Java process you want to inspect. No additional starting parameter for your server/java application are required.
You can take snapshots of the current system and store them for later analysis.
Sometimes it is really amazing what you can find in your own code...
Happy Profiling.
Tobias
|
|
|
26/03/2010 13:40:54
|
hilka
Power User
Joined: 23/11/2007 09:00:08
Messages: 191
Offline
|
There is also a nice little video showing the most important features: http://blip.tv/file/1582849
|
|
|
17/04/2010 16:52:38
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi Tobias,
for quick memory prfiling this is 100% great! The profiler does not give you the references to objects, just the delta counts - but this is very valuable information.
In the area of performance I am not yet 100% satisfied, because I only get the cumulated view - here I always need the call-stack view....
Over all: thanks for this very valuable link! For quick profiling this is 1000% useful!
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
19/04/2010 09:04:46
|
hilka
Power User
Joined: 23/11/2007 09:00:08
Messages: 191
Offline
|
Hi Björn,
I did not do intensive memory profiling yet, but I had on problem with ever growing memory. When I took a stack dump, I could find the object which holds the references to the large, memory consuming objects.
For performance profiling: When you take a snapshot of the current profiling, you get the call tree. So I think this is just what you wanted.
Tobias
|
|
|
|