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
2
votes
1 answer

Threads running amuck with AsyncHttpClient and Quartz Job

Here is a simple Quartz scheduler which should run a job once every minute; the job in itself makes an HTTP request using the Sonatype Async Http Client. Using jvisualvm, I was able to detect threads spawning and never closing, e.g. they are stuck…
user375566
2
votes
2 answers

Why does jvisualvm crash with the message: "No protocol specified"

Using ubuntu 11.10. When I run jvisualvm from the command line, the output is : "No protocol specified". Then the program exits.
user24601
  • 71
  • 1
  • 4
2
votes
1 answer

Stack Trace for the Eclipse plugin

We have installed "IBM SCM Adapter for ClearCase" plugin in our Eclipse environment. We are encountering some errors while "checking out" files from ClearCase on some eclipse instances, and the plugin works fine on some other eclipse instances. We…
ernesto
  • 1,899
  • 4
  • 26
  • 39
2
votes
3 answers

Java heapdump analysis find source for the instantiated objects

I am analyzing a heap dump using a jvisualvm. From the report I can see the classes, number of instances and the size occipied. What I wanted to know is - the source (which class instantiated) of these objects. For a given object, if I could know…
VenKatari
  • 38
  • 4
2
votes
2 answers

Why doesn't jvisualvm see my Play Framework app?

I'm trying to use jvisualvm to peer into a Play Framework app. Environment: Windows 7 bit, Java 7 64 bit. Step: 1) Added -Dcom.sun.management.jmxremote to _JAVA_OPTIONS enviornment variable. Play Output Picked up _JAVA_OPTIONS: -Xms800m -Xmx1500m…
ripper234
  • 222,824
  • 274
  • 634
  • 905
2
votes
1 answer

jvisualvm 1.3.2 refuses to show CPU for some local apps and not others

OSX Lion, Java 1.6.0_33 One program running at the moment, shows CPU in jvisualvm Overview: Host: localhost Main class: org.jetbrains.idea.maven.server.RemoteMavenServer Arguments: JVM: Java HotSpot(TM) 64-Bit Server VM (20.8-b03-424, mixed…
bmargulies
  • 97,814
  • 39
  • 186
  • 310
2
votes
2 answers

How to use "AND operator (&&)" in OQL in MAT Eclipse

I am working on performance tuning of a java rmi application and using OQL to execute below query : select tpoint.host.value.toString() from sun.rmi.transport.tcp.TCPEndpoint tpoint where (tpoint.host!=null && tpoint.csf!=null) Above query…
mogli
  • 1,549
  • 4
  • 29
  • 57
2
votes
2 answers

Avoid ClassNotFoundException in JMX call via JVisualVM due to custom exception class

Our application exposes some methods via JMX, which we invoke using JVisualVM. This works well normally, but sometimes a method call will abort with an exception inside the application. In that case, instead of showing the error message from the…
sleske
  • 81,358
  • 34
  • 189
  • 227
1
vote
1 answer

How to get the Total Total-Time for a method using VisualVM

I am trying to measure the performance increase of inlining an accessor into a function. As a consequence of the inlining, the self-time of the method increases (of course). I need to measure the Total Time and invocations of the method. In VisualVM…
jsj
  • 9,019
  • 17
  • 58
  • 103
1
vote
1 answer

New VisualVM 1.3.4 install hangs on "Computing description"

I had jVisualVM 1.7.0_03 (from the JDK install) working fine. I installed the latest VisualVM 1.3.4. I started it up. It printed "Computing description" and started the progress dialog. It's been running for several minutes now. It's not…
David M. Karr
  • 14,317
  • 20
  • 94
  • 199
1
vote
1 answer

What is the use of configuring management.properties in profiling remote JVM

It is required to configure management.properties in 'jre_home\lib\management' to enable remote monitoring. But even after configuring the required properties…
Arunkumar
  • 11
  • 1
1
vote
0 answers

Websphere Thread memory monitoring not available with Java Visual VM?

I'm quite surprised that i can't visualize the memory that takes a thread when a java application is deployed on Websphere 8. I was used to use Java Visual VM to track potential memory leak as in the screenshot below : But when i try to use Java…
1
vote
0 answers

How can I extract from a heap dump instances allocated from a single thread?

I have an application with degrading performance. I have analyzed its behavior using Java VisualVM. I detected a group of threads in a pool that increase their allocated bytes on each execution. So, I know where the problem is, however I can't find…
gabyly
  • 23
  • 4
1
vote
1 answer

How to enable JMX in wildfly running in windows server 2016

I'm running wildfly in windows server. Need to setup JMX to monitor remotely I have tried adding JMX settings in standalone.conf.bat file and opened firewall port, but still not able to monitor using jconsole Environment: Wildfly 23 Redhat…
1
vote
0 answers

Is there a way to view the stack memory in java?

In Java I can use Visual VM to see the state of the heap with a heap dump. Is there any way to view the state of the stack memory? I don't need this for any assignment but I am curious to view the memory structure of the stack.