Questions tagged [jvisualvm]

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.

365 questions
0
votes
1 answer

Getting compile error while building ant project

I am building this project https://github.com/oracle/visualvm . I have JDK10 in my system. I changed the source and target option in build xml to 1.8 from 1.5, as there were error saying 1.5 is not supported anymore. Now, I am getting a compile…
0
votes
2 answers

java process cpu usage is 100% high , but with not request at all, the process go back to normal when restarted .

here is the thread dump file . it is a tomcat service . i found many thread time_waited on logging . but no actual log was wrote. i've used jvisualvm to monitor the full-gc , but gc was normal . i can't get any useful information out of this…
Adams.H
  • 1,603
  • 4
  • 20
  • 29
0
votes
0 answers

Visual GC not able to see Histogram for local main method

I am learning How GC work in java, I am using java 1.8.0_40 64bit My OS is windows 10 Under visualVM I have install VisualGC plugin. But when I ran my program, I am not able to see the Histogram under Visual GC I have also start jstatd on local…
Alpesh Jikadra
  • 1,692
  • 3
  • 18
  • 38
0
votes
0 answers

Java Visual VM indicating large amount of memory in Object[], but I don't know where these could be getting made

I am running a program which creates an internal data structure for a very large tree. Each node in the tree contains HashMaps containing objects called RHS. I am trying to debug memory usage using Java VisualVM. I have attached the photo below. I…
0
votes
1 answer

Why is the heap utilisation increasing over time even if my program does not create any new objects?

This is a very basic question. But I am not getting any clear answer over internet. I have the following code public static void main(String[] args) throws InterruptedException { Thread.sleep(1000000); } I connected JVisualVM and started…
ptk
  • 105
  • 9
0
votes
1 answer

java jvisualvm can not see the local JVM processes

I stop seeing the local JVM processes in jvisualvm. I definitely have JVM processes running which I can verify with ps command. $ ps aux | grep java -c 10 Here's empty jvisualvm window, I tried adding JMX agent localhost:3333 as mentioned in this…
prayagupa
  • 30,204
  • 14
  • 155
  • 192
0
votes
0 answers

JvisualVM: strange application behavior

Here is my graphics from jvisualvm (after 2 hours, 20 hours, 22 hours of the application work). I can't explain such behavior. Please, help me with your advices. I don't see memory leaks, but CPU usage is growing slowly.
0
votes
2 answers

Heap Dump - huge Size 10GB in Hprof format -I tried it with MAT, Jvisual VM and Jprofiler, but all application failed to load the file

I have got a Heap Dump file of Size 10GB in Hprof format from production system. I tried analyzing it with MAT, Jvisual VM and Jprofiler. I have to conduct analysis of the same for memory issue and bottleneck. The loading of file hangs application…
0
votes
0 answers

Monitor Tomcats internal threadpool without using JMX in a Spring Boot App

I have a simple Spring Boot web application set up for handling incoming http requests. Using the Java VisualVm I am able to see MBeans such as Tomcat's internal Threadpool. See the following screenshot: Screenshot of the Java VisualVM's MBean…
Patrick
  • 1,728
  • 2
  • 17
  • 30
0
votes
0 answers

Java VisualVM profiling freezing issue

I am using java visualVM 1.4 to do JDBC profling for my application, i need to do the following: 1-Start profiling 2-Take snapshot 3-Clear profiling records go back to step 1 I need to perform the previous loop for around 10 times, i am using my…
Baha' Al-Khateib
  • 311
  • 3
  • 13
0
votes
1 answer

Making visualvm to look onto the jars

Hi I am totally new to VisualVm. I would like to know whether there is any configuration to be done for making visualvm to look onto the jars. I am using ubuntu and openjdk version 1.8.0_131. I installed visualvm and its showing eclipse and is not…
annie
  • 81
  • 1
  • 4
  • 15
0
votes
1 answer

Jvisualvm main window of running jvm's no longer appears

Somehow I have managed to squash the main window of Jvisualvm: it is not longer coming up with the list of running jvm's. How can this be reset? I have tried killing and restarting a few times now.
WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
0
votes
0 answers

JVisualVM lies: "Not supported for this JVM" while it is

App A, ran from IntelliJ, has CPU usage and I can look at threads. App B has no Threads tab and CPU usage shows "Not supported for this JVM". Both apps are ran with same JVM. Why / what happened? JVM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13,…
0
votes
1 answer

Not able to integrate Jvisual Vm with Jboss EAP 6.1

I am not able to integrate JVisualVM with jboss EAP 6.1. Below are steps i done: Edited the startup file and added the below params in that- JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=3614…
0
votes
0 answers

Java running faster after using JVisualVM

We have a simple java application which receives commands over tcp socket (netty), translates these commands to json strings and sends them to one connected client over a websocket connection (jetty). The application performs well with windows on…
f4n
  • 11
  • 3