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
0
votes
0 answers
Remote JVM profiling using API
JVisualVM can connect to a remote JVM through JMX.
I need to collect CPU sampling data from remote JVMs the way JVisualVM does. Looks like JVisualVM is collecting sampling data from the exposed MBeans on remote JVMs.
Which classes are relevant in…

RRM
- 2,495
- 29
- 46
0
votes
1 answer
Unable to connect to a remote server using JMX connection in visualvm from Docker
I am using visualvm tool and trying to connect to my remote server ubuntu(14.04). In ubuntu my application is running on Docker. The Dockerfile looks like-
FROM anapsix/alpine-java:8_jdk
MAINTAINER user
ENV OFFLINE_DB_USERNAME abc123
ENV…

User123
- 147
- 3
- 13
0
votes
1 answer
Jstatd Remote profiler with jvisualvm
I am trying to profile my web application on my local windows 7 PC visualVM.
I created a jstatd.all.policy file with below code under java's bin directory on my CENTOS 6.8 x86_64 server
grant codebase "file:${java.home}/../lib/tools.jar" {
…

Rawat
- 461
- 3
- 6
- 23
0
votes
1 answer
How do I start jstatd in my local machine?
I was trying all the steps mentioned in this link , but unfortunately getting the same old error like
Could not create remote object
access denied ("java.util.PropertyPermission"
"java.rmi.server.ignoreSubClasses"…

murasing
- 412
- 6
- 15
0
votes
1 answer
JVisualVM does not find my Java process
I started a Java process with JDK 1.8.0_101 in my user account. The task manager shows me that it is running.
Then I start jvisualvm for the same JDK and same user and cannot see the process. Any ideas?
I am using Windows Server 2012.

J Fabian Meier
- 33,516
- 10
- 64
- 142
0
votes
1 answer
Want to know not initialised classes from project
I am working on enterprise level web application which build on J2EE. Project contains more than 1700 classes of different modules.
Some modules are not using across the people.
How can I know which classes are not using?
We already watched…

Kunjal Bhatt
- 21
- 6
0
votes
1 answer
export thread dump from jvisualvm
I made a thread dump in jvisualvm.
How to export it?
I can't find any export button.

lapots
- 12,553
- 32
- 121
- 242
0
votes
0 answers
What does the CPU usage and memory allocation indicate in the screenshot?
Hi
While doing memory profiling of tomcat using jvisualvm, after some time i noticed that CPU usage was almost 0 and use heap size was also constant and was not taking up more memory even after it has more available memory.(See the screen shot…

Bagira
- 2,149
- 4
- 26
- 55
0
votes
1 answer
Java memory profiling shows unusual object allocation and deallocation
I was memory-profiling a java application. I used JVisualVM tool for the same. However, it show that continuously objects are allocated and deallocated, despite the fact that my application is not doing any important task, which is shown in the…

Mangu Singh Rajpurohit
- 10,806
- 4
- 68
- 97
0
votes
2 answers
Jvisualvm shows cpu usage more than the number of processors
My computer have 24 processors in cat /proc/cpuinfo. when I run a benchmark and get cpu usage by a jvisualvm sampler, I got such a result:
There are 24 ProducerSendThread with the same total time and total cpu time,I think it means the 24…

Renkai
- 1,991
- 2
- 13
- 18
0
votes
2 answers
Can VisualVM be used for profiling Maven Projects? If yes then how?
I want to profile a Maven project using JVisualVM. In eclipse in the run configurations there is nothing for running the maven build in VisualVm. Next I tried running the VisualVM application and profiling the projects, the jar files that get…

Pallavi Majumder
- 33
- 2
- 10
0
votes
1 answer
Determine Garbage collector type from jconsole/jvisualvm?
Is there a way I can find GC type (parallel or CMS or G1 ) from jnconsole or jvisualvm? In my case, I see below related info:
Garbage Collector : Name='PS MarkSweep'....
Garbage Collector : Name='PS Scavenge'....
When I use the command -XX:…

emilly
- 10,060
- 33
- 97
- 172
0
votes
1 answer
btrace visualvm interfaces require ASM 5
When I run this simple Java8 program
package test;
public class TraceInt {
public static void main(String args[]) throws InterruptedException{
TraceInt ti = new TraceInt();
while(true){
…

Dan
- 9,681
- 14
- 55
- 70
0
votes
0 answers
Discrepency in object size in Jprofiler/Jvisualvm
I am analyzing the heap report in jprofiler. I see two tabs i.e Classes and Biggest Object
Under class tab it display size as 144B and Instance count as 1 of class com.test.Customer but under Biggest objects it size comes
out to be 35 MB. Why this…

user3198603
- 5,528
- 13
- 65
- 125
0
votes
0 answers
how to know if a jvm is in trouble
JVM facing out of memory problem. When this occurs I am unable to connect it using jvisual vm also. It like jvm is not responding to any request. I kept the jvisual window open, without any warning or any error on tool it just got disconnected. Now,…

Aadam
- 1,521
- 9
- 30
- 60