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
8
votes
1 answer
Where is the temporary directory/location of eclipse?
I tried to fix a problem with jvisualvm not detecting local java applications as explained at
Why won't the VisualVM Profiler profile my application?
Unfortunately I could not find where the tmpdir of eclipse is.
Where is the java.io.tmpdir of…

David Michael Gang
- 7,107
- 8
- 53
- 98
8
votes
2 answers
Get a listing of all currently loaded classes in a given JVM instance
It'd be handy to know which classes are currently loaded by a given JVM instance.
Is there some way to get them through JVisualVM, for instance?
Edit: I'm aware of the solution given @ Java - Get a list of all Classes loaded in the JVM, yet I'd…

devoured elysium
- 101,373
- 131
- 340
- 557
8
votes
3 answers
Proxy configuration issues with jvisualvm
I have tried the jvisualvm.exe in my JDK (1.6.0_15-b03) to reload the plugin catalog, by following
Tools > Plugins > Updates > Reload Catalog
However; no matter what proxy configuration I try (I also tried to test it on another JVM 1.6 update 23)…

Ayusman
- 8,509
- 21
- 79
- 132
7
votes
2 answers
visualvm history graph
Is it possible in visual vm to set memory, process/gc activity etc. graphs to shift in time without lowering x scale? When application starts that graphs look nice, but after some time they toughly compressed along x axis and it becomes cumbersome…

michael nesterenko
- 14,222
- 25
- 114
- 182
7
votes
2 answers
Java VisualVM memory sampler - how to get the size of a specific class
My application uses a lot more memory than I think it suppose to use, and I'm trying to understand which class is using a large amount of the memory and maybe not releasing it.
I'm using VisualVM and in the memory sampler I can see that most of the…

aye
- 73
- 1
- 4
7
votes
2 answers
Java VisualVM Enable Heap Dump on OOME
According to documentation one could automatically take a heap dump when the application encounters an OutOfMemoryException.
After OutOfMemoryException process just disappear from left menu.
How does this feature works in VisualVM? …

Mike
- 20,010
- 25
- 97
- 140
7
votes
0 answers
Connect visualvm to java app running in gradle wrapper
I'm trying to connect visualvm to my java app which is built run using jetty and gradle. The app is running on localhost, so remote connections aren't required. However, whenever I try to connect to the application, I'm merely connecting to the…

Chris
- 354
- 3
- 13
7
votes
2 answers
jvisualvm hangs when profiling a local process
when I use jVisualVM, I see two local processes: VisualVM itself and the process I am interested in let's call it ProcessX. When I doubleClick the VisualVM process, everything works fine. When I doubleclick ProcessX, the application is stuck and…

Vjeetje
- 5,314
- 5
- 35
- 57
7
votes
4 answers
jvisualvm in Unix
We started to check the performance of my application as its getting slow after some time. I am using jvisualvm to observe the cause. Can anyone tell how can i use jvisualvm in Unix as in Windows we can check it through UI. Can we have the same view…

Vivek Dhiman
- 1,967
- 6
- 46
- 82
7
votes
1 answer
maven/visualvm: how can i use visualvm to profile a running surefire process?
I can attach to the surefire process, but trying to profile it shows for sampling:
CPU sampling:
Not available. Failed to create JMX connection to target application. Use 'Add JMX Connection' action to attach to the application.
Memory…

IttayD
- 28,271
- 28
- 124
- 178
7
votes
1 answer
VisualVM connect to local TomEE very slow and can not take a heap dump
I encountered a very strange problem with TomEE 1.5.1 and VisualVM 1.7.0_09 on MAC OSX mountain lion.
After TomEE loaded some webapp.Use VisualVM connect local TomEE process take long time, and after connected the gc button is disabled and I can…

Yaocl
- 194
- 1
- 12
7
votes
1 answer
Installing jvisualvm on CentOS
I installed Java on my CentOS machine, but I don't have jvisualvm:
[root@ bin]# ls -la /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/
total 496
drwxr-xr-x. 2 root root 4096 2012-05-22 17:31 .
drwxr-xr-x. 4 root root 4096 2012-02-15 03:11…

Erel Segal-Halevi
- 33,955
- 36
- 114
- 183
6
votes
1 answer
getting a list of running non-daemon threads in jvisualvm
I am troubleshooting a shutdown that is not as graceful as it should be, so I would like to get a list of running non-daemon threads in jvisualvm (or other) to hunt the culprit.

Rom1
- 3,167
- 2
- 22
- 39
6
votes
2 answers
Does filtering classes for cpu profiling work in Java VisualVM?
I want to filter what classes are being cpu-profiled in Java VisualVm (Version 1.7.0 b110325). For this, I tried under Profiler -> Settings -> CPU-Settings to set "Profile only classes" to my package under test, which had no effect. Then I tried to…

DaveFar
- 7,078
- 4
- 50
- 90
6
votes
2 answers
Can JVisualVM "Heap Dump" button release memory?
i have a very strange problem.
I'm working on an OSGi application, based on Eclipse Equinox; it was developed using OSGi Log Service (Equinox implementation) and now I'm testing it with the Apache Felix OSGi Log Service implementation.
At API/code…

elDarioz
- 61
- 1
- 2