jvisualvm is a Java Virtual Machine monitoring, troubleshooting and profiling tool. It is part of Oracle/Sun JDK since JDK 6 update 7 and is based on open-source project VisualVM.
Questions tagged [jvisualvm]
365 questions
2
votes
1 answer
jvisualvm for remote host
I want to use jvisualvm's remote functionality to see live stats of a remote JVM.
I've started the jvisualvm from my windows machine but I don't know how to configure the remote connection.
On the remote machine (OS: Redhat Linux), tomcat is started…

AndreiF
- 21
- 2
2
votes
0 answers
Visual VM and Maven integration
I want to call the visualvm from maven during the build to generate the heap dump and thread dump.
Can anybody help me that?

smilesourabh
- 71
- 5
2
votes
0 answers
invoke Visual VM from java code using
Is there any way to invoke visualVM through Java code and configure it to sample another Java program running on a remote host?or is there any other profiling tool which provides similar capabilities ?

Kumaran
- 309
- 4
- 11
2
votes
1 answer
VisualVM: Is it possible to profile an application running on a remote server that only has JRE(no JDK)
I have two computers on a network(visible to each other) and I run JVisualVM on one of the computers. I wish to monitor a java application running on the other computer. Is it possible?
I tried adding a remote server and got the screen as…

Aspirant
- 1,934
- 4
- 25
- 44
2
votes
3 answers
File I/O bottleneck found via VisualVM
I've found a bottleneck in my app that keeps growing as data in my files grow (see attached screenshot of VisualVM below).
Below is the getFileContentsAsList code. How can this be made better performance-wise? I've read several posts on efficient…

Zack Macomber
- 6,682
- 14
- 57
- 104
2
votes
2 answers
Visual GC in Java VisualVM via jstadt for remote Tomcat
I'm trying to get the memory layout of a remote Tomcat visualized with Visual GC in Java VisualVM.
On the Linux server which hosts the Tomcat jstatd is running (including tools.policy and the proper [-J]-Djava.rmi.server.hostname=[SERVER_IP], which…

Benjamin Seiller
- 2,875
- 2
- 32
- 42
2
votes
1 answer
Charts like VisualVM Threads view
I would like to create a chart that shows the state of several threads over time. Graphically, it is like the VisualVM Threads view.
Basically, it would be a Gantt diagram that has multiple states for a given task, or a horizontal stacked bar chart…

Pierre Laporte
- 1,205
- 8
- 11
2
votes
2 answers
jvisualvm: Stuck on "Loading Heap Dump" screen
I created a heap dump file with hprof using this command:
java -agentlib:hprof -cp "..\..\jars\trove.jar;.\bin" com.mysite.MyApp
This successfully created the file "java.hprof.txt" which was about 5MB. I then opened up jvisualvm to view this file,…

Jonah
- 15,806
- 22
- 87
- 161
2
votes
1 answer
jVisualVM catalog not working after updating to Java 7 update 21
I'm on OSX Mountain Lion. If I run /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/bin/jvisualvm and attempt to goto to the plugins menu, I get the following error:
Unable to connect to the Java VisualVM Plugins Center because of…

Jonathan S. Fisher
- 8,189
- 6
- 46
- 84
2
votes
1 answer
Java VisualVM not able to connect to Jboss
Java VisualVM not able to connect Jboss server, when jboss server running with option -b 0.0.0.0.
jboss run script - run.sh -c web -b 0.0.0.0
When i try to run jboss with this like - run.sh -c web -b {MyIp}
then Java VisualVM is able to connect…

NPKR
- 5,368
- 4
- 31
- 48
2
votes
2 answers
Build failed when trying to compile JVisualVM
I've been following the instructions shown on http://visualvm.java.net/build/build.html when attempting to build JVisualVM.
I checked out the trunk to my hard-drive, I've downloaded…

devoured elysium
- 101,373
- 131
- 340
- 557
2
votes
1 answer
Discrepancy between memory usage got through getMemoryMXBean() and jvisualvm?
When trying to monitor my own program's memory usage through the following code
public static String heapMemUsage()
{
long used = ManagementFactory.getMemoryMXBean().getHeapMemoryUsage().getUsed();
long max =…

devoured elysium
- 101,373
- 131
- 340
- 557
2
votes
2 answers
VisualVM Reporting
I am performing load test on JMeter for webbased application, and i have to get CPU Utilization, Memory Utilization, number of Threds. For this i am using VisualVM. Is there any way we can get as Report in the form of XLS or CSV or any other format…

Raghunatha
- 51
- 3
- 6
2
votes
2 answers
Java profiling - detect what causes a spike
I am trying to to detect what causes massive spikes in our Java struts bases web application deployed in Jboss. I have used Yourkit and visualVM to take dumps and have analysed dumps but these spikes are momentary and by the time the dump is taken…

Soumya
- 1,054
- 2
- 16
- 31
2
votes
1 answer
using Jvisualvm to detect memory leaks
My java jar is just one of many that a larger program uses. I am trying to determine if my code is the cause of a memory leak, or if there are other problems outside of my code. I am using jvisualvm, and have identified all of my classes, and none…

Jason
- 2,147
- 6
- 32
- 40