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
1
vote
0 answers

understanding scala non-blocking method execution using jvisualvm

I have a very simple scala async method within main Thread that I am trying to see how much it takes to execute so that I can use the same knowledge to profile my actual API. import scala.concurrent.ExecutionContext.Implicits.global import…
prayagupa
  • 30,204
  • 14
  • 155
  • 192
1
vote
0 answers

Using JVisualVM to examine source of "retained" objects (aka memory leaks)

I have a network server app that receives messages in an in-memory queue that are first received on a tcp socket. The messages are then processed and supposedly discarded. The queue (just a java.util.concurrent.ArrayBlockingQueue) is consistently in…
WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
1
vote
1 answer

Specify JVisualVM Heap Dump File Location on Linux

The default location for JVisualVM's heapdump files in Linux is the /tmp/ directory. Because of my development machine's limitations, and the resource use of my application /tmp/ isn't big enough to capture the file. Is there a way to set this as a…
Agricola
  • 572
  • 1
  • 8
  • 20
1
vote
1 answer

Could not load Logmanager "org.jboss.logmanager.LogManager" java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager

I am using Visualvm tool and trying to establish remote connection through jmx. I need to connect to my remote server which is ubuntu 14.04. My web application is running on Docker and jboss/wildfly is running on docker. Below is the…
User123
  • 147
  • 3
  • 13
1
vote
1 answer

Connect Docker Containers with remote debugger

I am trying to connect my docker containers with JConsole or JVisualVM. There are some articles I googled like http://www.jamasoftware.com/blog/monitoring-java-applications/ but that didn't work for me. How can I connect them to my running…
user6457056
1
vote
1 answer

What is the importance of the numbers inside the brackets in visual GC plugin?

In the visual GC plugin of visualVM, there are some numbers mentioned inside the brackets for Eden Space, Survivor, Old Gen and Metaspace. Kindly explain the importance of these numbers and if possible, the other contents as well including the…
Rashmi Ranjan
  • 101
  • 1
  • 13
1
vote
0 answers

JVisualVM security consideration

I want to use JVisualVM, JConsole and JMC not just in testing environments but in Production too, however it looks like I am able to see the values of the specific objects as well as Perform a GC and do a Heap Dump. I am wondering is there a way to…
vs777
  • 564
  • 2
  • 11
  • 24
1
vote
3 answers

Java Used Heap RAM usage peaks, how can I avoid them?

First of all, I can't really show code, I am sorry, these software belongs to the company I work for, not me. I will try to explain my problem the best I can. I am developing a little application based on JavaFX, that shows values in LineCharts,…
Mayuso
  • 1,291
  • 4
  • 19
  • 41
1
vote
1 answer

Cassandra 3.0 latency statistic incorrect

I have setup new Cassandra 3.3 cluster. Then I use jvisualvm to monitor Cassandra read/write latency by using MBean (jmx metric). The result of read/write latency is always stable in all nodes for many weeks whereas read/write request in that…
tipwimon
  • 11
  • 3
1
vote
1 answer

Cannot find where JVisualVM has placed performance data

Yesterday I tried profiling a java app using JVisualVM. After some minutes I got a warning from the OS that the disk was being filled, once I understood the problem was JVisualVM and stopped it I 'lost' about 12Gb of storage (out of 256). I'm trying…
Simone Avogadro
  • 789
  • 8
  • 23
1
vote
1 answer

How can I monitor the stack usage of a java application

I'm working on a Java application which is running very slowly. In order to increase the performance, I would like to monitor it first. Using jvisualm I can monitor the heap size of my Java application, and jconsole - both tools are present in the…
Dominique
  • 16,450
  • 15
  • 56
  • 112
1
vote
2 answers

How does JVisualVM start and stop CPU profiling?

I want to add an option in my application where the end user can start CPU profiling, reproduce a performance issue, stop CPU profiling, and then send the profiling information to our support team as an attachment to an email. I'm hoping I can use…
Jason
  • 321
  • 2
  • 16
1
vote
1 answer

JvisualVM --> Profiling --> Garbage Collection

On clicking garbage collection tab in profiling, it will really do garbage collection or its optional? I know when we call system.gc() it not assured it will call garbage collection.
Karthi
  • 11
  • 1
1
vote
1 answer

How can I profile a Java application running on my LAN?

I am trying to profile a Java application running on my LAN from JVisualVM. However, when I start my program with arguments like:…
1
vote
1 answer

Analyse heap dump with visual vm that contains multiple webapplications

I got an heap dump of a tomcat server that hosts several web applications. There are several classes that have instances in each of the applications. When I list all classes contained in the dump I get multiple lines for those classes each showing a…
Candlejack
  • 248
  • 1
  • 3
  • 15