I aim to do some timing/memory tests on a Java application that is runned via Eclipse. After browsing the Web, I have found the "Visual JVM" that can be considered as a fine tool for prifiling the application. Isn't? So, my question is how can I download and use it in Eclipse? are there some tutorials/codes that guide me?
Thnx for Your prompt answers that I really need.
Cheers, Sana.
Under the Local node in the Applications window, right-click the application node and choose Open to open the application tab. Click the Profiler tab in the application tab. Click Memory or CPU in the Profiler tab. When you choose a profiling task, VisualVM displays the profiling data in the Profiler tab.
Using VisualVM (jvisualvm) jvisualvm is a tool to analyse the runtime behavior of your Java application. It allows you to trace a running Java program and see its the memory and CPU consumption. You can also use it to create a memory heap dump to analyze the objects in the heap.
Various optional tools, including Java VisualVM, are provided with the Java Development Kit (JDK) for retrieving different types of data about running JVM software instances.
Here is a tutorial for using VisualVM in various IDEs; including Eclipse.
You can download the VisualVM launcher here. VisualVM is actually in your JDK, and can be run as a stand-alone (separate from Eclipse) program from there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With