VisualVM is a visual tool integrating several commandline JDK tools and lightweight profiling capabilities. Designed for both production and development time use, it further enhances the capability of monitoring and performance analysis for the Java SE platform.
Questions tagged [visualvm]
653 questions
0
votes
3 answers
Java monitoring tool which will allow to see the stacktrace at "real time"
I work on very large web project which is written in java.
when I click some button or do other actions it is hard to me to understand what methods called in application code(because I am new in project and application is really really big). So I…

user1321466
- 1,889
- 2
- 21
- 29
0
votes
2 answers
JVIsualVM looses local Java process from list
I am using JDK 1.7.0_60 and I have a Java process. I was always monitoring my process using VisualVM, but few days ago my Virtual Machine crashed, because of some other side effects. After that fact, VisualVM lost exising process from certain list.…

David Lekishvili
- 193
- 3
- 10
0
votes
2 answers
Interpreting the results of a VisualVM profiling session
I have an application that writes some data (about 15mb in 80k tuples) into an SQLite database using this jdbc-driver on Mac OS X. This is done using transactions, the largest of which contains about 45k inserts into one table. When profiling the…

Björn Pollex
- 75,346
- 28
- 201
- 283
0
votes
1 answer
Java Memory usage continuously growing till OutOfMemory Exception
I have a program which parses files and stores the data in a mysql-Database.
My Problem is that the Heap space(I use VisualVM to follow them) is growing.
And the Memory usage(ps aux --sort -rss) is also growing.
When the HeapSize reaches the…

user2071938
- 2,055
- 6
- 28
- 60
0
votes
0 answers
VisualVM profiler throws null pointer exception for empty main
Edit: The missing part was the binaries of VisualVM. I ve installed only ide extension part.
I've installed VisualVM to profile some java codes but its giving same error as soon as I run the application. Tried different codes, even with an empty…

huseyin tugrul buyukisik
- 11,469
- 4
- 45
- 97
0
votes
1 answer
Adding remote VMs in Java VisualVM
If I open jvisualvm and go to File >> Add Remote Host I am prompted to create a new remote server entry. I enter a host name of myapp01.example.org, and then I see that server show up under the Remote section of the Applications tree on the…

smeeb
- 27,777
- 57
- 250
- 447
0
votes
1 answer
How to identify/rename EJB threads for identification in VisualVM for debugging
Is there a way to give the threads that run in EJBs a name so they can be identified in the thread list in VisualVM? Threads call timer (@Timeout) and JMS (onMessage()) methods as well as http servlets methods.
Currently, the threads are given…

AlJo
- 161
- 1
- 13
0
votes
2 answers
Why does idle Java application generate 20 MB garbage in 4 minutes?
I was testing performance of Guava cache by loading 5000 objects in cache using 50 threads using ExecutorService. I wanted to see the heap occupied by the cached objects.
It looked as though the cached objects were eating up 25MB.
Later, I put a…

Teddy
- 4,009
- 2
- 33
- 55
0
votes
1 answer
VisualVM Cannot connect to 178.xxx.xxx.xxx:xxxx using service:jmx:rmi///
I used visualvm last week on my notebook and it worked without any issues. When I wanted to use it yesterday I get the error: VisualVM Cannot connect to 178.xxx.xxx.xxx:xxxx using service:jmx:rmi///... once adding a jmx connection.
The odd thing…

user2693017
- 1,750
- 6
- 24
- 50
0
votes
1 answer
Regarding Threads and JVisualVM
I am running the following program in Java (through Eclipse IDE):
package threaddemo;
class Runner extends Thread{
@Override
public void run() {
while(true)
System.out.println("Running in a thread ....");
}
}
public…

Garrett
- 1
- 2
0
votes
1 answer
Configure VisualVM for SSL through JMX
I have succeeded in establishing connection without SSL with the following command:
java -Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false DemoApp
But how do I connect…

Kalpa-W
- 348
- 3
- 22
0
votes
1 answer
Heap dump in visualvm glassfish
I have a webservice on amazon ec2 running on glassfish 4 server, I tried to connect visualvm to the server but it were impossible, so I followed this tutorial (http://looksok.wordpress.com/2012/02/10/remote-use-of-visualvm-with-xming/), I installed…

RoberV
- 587
- 5
- 22
0
votes
1 answer
Eclipse doesn't start after installing VisualVM plugin
I tried to install the VisualVM plugin. Now eclipse doesn't start and my log file looks like:
!SESSION 2014-11-27 16:40:55.574 -----------------------------------------------
eclipse.buildId=4.3.0.I20130605-2000
java.version=1.6.0_39
java.vendor=Sun…

Grimbo
- 237
- 2
- 13
0
votes
1 answer
How to profiling Java methods invoked by reflect
I'm using JVisualVM to profile my Java application.
In my application, I use reflect to run some methods. For example:
public void a() {}
public void b() {}
public void runMethod() {
Method m = this.getClass().getMethod("a");
// or…

Bin Wang
- 2,697
- 2
- 24
- 34
0
votes
0 answers
As soon as VisaulVm.exe launches Intellij becomes unresponsive
I am using IntelliJ and the moment that I open VisiualVm.exe IntelliJ just becomes unresponsive. I can use VisualVm correctly and even after I close it IntelliJ just hangs. I have to kill it from the TaskManager.
I tried google’ing for this but…

cp5
- 1,087
- 6
- 26
- 58