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
1 answer
Monitoring java application memory in Task manager and Profiler, which is correct?
I'm monitoring the memory usage of an application running from Netbeans. I'm somewhat confused by two different results.
The Task Manager gives me one value, whereas the Profiler in Netbeans indicates something different.
For example, here's the…

CAMD_3441
- 2,514
- 2
- 23
- 38
0
votes
1 answer
Java application monitoring over longer time periods?
Using tools like JConsole I can monitor a Java application real time. How can analyze the performance over a longer time period? Let's say over a day? Or week?
Are there simple tools like jConsole I can use?

onknows
- 6,151
- 12
- 65
- 109
0
votes
1 answer
how does jconsole/visualvm know local running java apps
When you startup jconsole or visualvm they present to you a list of "locally running java apps" that could be attached to and monitored.
How does it know which apps running locally exist?

rogerdpack
- 62,887
- 36
- 269
- 388
0
votes
1 answer
Java VisualVM JMX connection in IBM Websphere
I am trying to monitor IBM Websphere using JVisualVM but i cannot connect.
Error Says "Cannot connect to using service:jmx:rmi:///jndi/rmi:///jmxrmi"
This is the first time were using IBM JDK in WAS. this is working smoothly on our old Solaris…

James DC
- 50
- 4
0
votes
1 answer
How to use JDK profiling tools? Do I need to look at profiling tools (JConsole or VisualVM) until it shows some troubles?
I'm a newbie in profiling (but not in Java in general though), I interested Java or Kotlin profiling best practices.
I read multiple articles, watch some videos. I got profiling could be done either manually ( e.g. timestampEnd-timestampStart) or…

J.J. Beam
- 2,612
- 2
- 26
- 55
0
votes
1 answer
How to copy multiple rows from VisualVM's CPU Sampler results?
I identified the root cause of a performance issue in VisualVM. I need to put together a report with the data from VisualVM. However, I want to be able to copy and paste multiple rows. Using Shift+Up/Down only selects one row. If you try this in…

joseph
- 2,429
- 1
- 22
- 43
0
votes
1 answer
Is it possible to profile apache storm topology in VisualVM?
My Apache Storm topology is getting slow. I wanted to know which of methods are consuming most time and slowing down the topology. Can I profile Apache Storm topology to know where is performance bottleneck, for example use visualvm to show methods…

MsA
- 2,599
- 3
- 22
- 47
0
votes
1 answer
Why does the "Total Time" column in visualvm differ from runtime duration?
I've been running the CPU Profiler in visualvm on my java process for 45 minutes, however the "Total Time" column shows only roughly 104,000ms elapsed (i.e. 104 seconds), and it grows but it grows slowly.
This clearly doesn't map to real physical…

ABC
- 693
- 1
- 10
- 22
0
votes
1 answer
CPU profiler results for groovy application full of reflection calls
I'm using VisualVM to perform profiling for a Groovy web application, and the stack traces are full of reflection calls that have bloated the trace and made it difficult to read. Is there a way to filter these out? Either at compile time, run time…

Renan
- 827
- 8
- 16
0
votes
2 answers
Why is dequeue() taking so much processor time?
Visual VM shows FifoMessageDispatchChannel.dequeue() taking a lot of time. The Tomcat process is using around 100% of a processor core.

brendan
- 384
- 3
- 10
0
votes
1 answer
CPU usage going 100% on making any transaction
Recently I came up across strange scenario where I could see the application slows down after some point of time due to which I am unable to load application.
So I started monitoring the server and found that for some of the scenario's the GC…

srikanth r
- 302
- 3
- 20
0
votes
1 answer
various issues when setting up visualvm remote JVM connection with jstatd
statd on remote machine may not be starting up correctly and visualvm user interface does not add connections.
On the remote machine, I created a policy file for jstatd:
grant codebase "file:/home/jonathan/jdk1.8.0_191/lib/tools.jar" {
permission…

Jonathan T
- 115
- 7
0
votes
1 answer
remote profiling neo4j using visualvm
I am trying to monitor GC information using VisualVM from local laptop and connecting to Neo4j (enterprise) application running on Oracle JDK 8 on remote EC2 instance running ubuntu 16. I am able to connect using JMX connection but the issue is I…

user0000
- 369
- 2
- 7
0
votes
1 answer
VisualVM "Sampler->Cpu->CpuSettings" is grayed out. How come?
I am unable to filter what specific packages I want to look at, since the cpusettings menu is grayed out.
I am running my application from eclipse using the VisualVM runner.

KeyboardDrummer
- 577
- 5
- 21
0
votes
1 answer
How is "Size" calculated in JVisualVM's Heap Dump
I'm running Java Visual VM to analyze performance on a Mule app to reduce the amount of memory used. When I look at the heap dump, I see that char[] has a size of over 37 MB, String has a size of a bit over 28 MB.
What I'm not clear on is how the…

Drew Ingram
- 75
- 1
- 9