Home

Monday, July 17, 2023

How to launch Java VisualVM in Spring Tool Suite(STS)

This demo is about:
What is VisualVM?
What is the Benifit of VisualVM?
And how to launch visualvm in sts.

What is VisualVm and What is the benefit of using it.

VisualVM is a Java profiler, and is also Java performance tools. Several Java performance tools are available. VisualVM is one of them. And this is a very powerful tool which provides visual interface and also it provides detailed information about local and remote Java applications while they are running on a Java Virtual Machine (JVM).

And also It helps the programmers and architects to track memory leaks, analyze the heap data, monitor the garbage collector and CPU profiling. It also helps to improve the application performance and ensure that memory usage is optimized.

Now we will see how to install visualVM plugin in our STS.

* To Install VisualVM plugin, go to this website: https://visualvm.github.io/idesupport.html
the plugin will get download. Extract download plugin zip. Now

* Go to STS, click Help menu, choose install new software
We have to point it to the local drive were we have unzipped here like below
file:/E:/software/visualvm/visualvm_launcher_u3_eclipse/



Once installation done STS will ask you to restart and click restart.

Next go to Window, preferences -> Run/Debug -> Launching ->VisualVM configuration


Here i have created video how to install and launch VisualVM in Spring Suite Tool (STS).Please wathc it.
How to launch VisualVM in STS Eclipse - Java profiler and Performance tool.


2 comments:

Spring Boot Rest API -Exception handling

Client is sending the request. Getting response. If everything is okay. Then we are good. But if something fails t...