[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Profiling tool VisualVm  XML
Forum Index -> Community
Author Message
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
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
CaptainCasa

Power User
[Avatar]

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
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
 
Forum Index -> Community
Go to:   
Powered by JForum 2.1.6 © JForum Team