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

jvisualvm: visualgc histogram

Does anyone know why I'v got error Not supported for this JVM when I run Visual GC plugin? Bellow about information from jvisualvm Version: 1.8.0 (Build 1360-130911); platform 20130911-unknown-revn System: Windows 7 (6.1) Service Pack 1,…
1
vote
2 answers

trying to view stack of unresponsive JVM : both jvisualvm and jconsole fail to connect

I have a Java program on my local machine that becomes unresponsive after sometime and appears to freeze without making further progress. I guess it blocks somewhere (it is accessing remote resources over both HTTP and JDBC so a blocking situation…
Marcus Junius Brutus
  • 26,087
  • 41
  • 189
  • 331
1
vote
0 answers

Non gui mode for jvisualvm

I am trying to get server statistics but in non gui mode using visualvm.Is there any tool for that?I used tracer but there it requires manual intervention as in we have to click to run it.
mani deepak
  • 401
  • 1
  • 4
  • 15
1
vote
1 answer

Remote VisualVM secure authentication

atm I use the following java params to enable remote access for a java application. But everyone who does a port scan can get access. I couldn´t find the params to set a user and password or ip whitelist. How can I do this ? java …
user2693017
  • 1,750
  • 6
  • 24
  • 50
1
vote
0 answers

Java JMX Remote Connection

I work with Java 1.6 and I want to connect my remote Jboss 7 server and monitoring it. I have already added parameters in .../bin/stabdalone.conf file JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=18189" JAVA_OPTS="$JAVA_OPTS…
javagc
  • 846
  • 1
  • 17
  • 37
1
vote
1 answer

Can visualvm send automatic email notification

We are having an web application hosted on Tomcat 6x and would like to set-up a server health monitoring tool like visualvm which could send us 'Automatic email notifications' incase of any issues with memory or other aspects. Since we are…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
1
vote
1 answer

VisualVM - Memory Sampling in Windows 8 - Tomcat 7 as Service

I'm using the VisualVm to do some profiling in a web application but the memory button is disabled in the Sampler tab. I am using Windows 8, Tomcat 7, VisualVM 1.7.0_09 (build 120605), and JDK 1.6.0_11 I've tried some (run tomcat service as current…
AndreFonseca
  • 35
  • 1
  • 7
1
vote
1 answer

Java VisualVm make the PID disappear

I am making use of java visualvm for profiling purpose. I am facing two issues: 1) As statetd in the documentation When a new local Java application is launched, a node for that application appears under the Local node. The application node…
Xara
  • 8,748
  • 16
  • 52
  • 82
1
vote
2 answers

VisualVM cannot profile; connects and other tabs work but Sampler tab gives:"Failed to create JMX connection"

I'm trying to use VisualVM to profile an app running in EC2. VisualVM connects to the remote machine and will show me the Overview, Monitor and VisualGC tabs (with data), but when I select the Sampler tab I get: Not available. Failed to create JMX…
Brian Tarbox
  • 2,335
  • 1
  • 20
  • 30
1
vote
1 answer

Java - Replace existing objects in heap memory

I am using Spring + Hibernate in my java web application. I read in the web that spring and hibernate will use more memory than usual. Frequently I am running out of memory. So I tried to profile my tomcat by using jvisualvm. When I see in memory,…
vissu
  • 1,921
  • 7
  • 37
  • 52
1
vote
0 answers

What does it mean when a thread in a java thread dump has no call stack?

I've been given a thread dump generated by jvisualvm for a native shared library which is implemented using JNI. It's running in an app that is calling into it from multiple threads via Dot.Net's Parallel.For . The java portion of the library has a…
Bwmat
  • 4,314
  • 3
  • 27
  • 42
1
vote
1 answer

in VisualVM/OQL how can I get the total size of all instances of objects from a certain package

I'm using VisualVm to profile a Web Application running in Tomcat. Tomcat keeps crashing with out of memory errors so I'm trying to figure out what in my application is causing it. When I run the memory profiler from VisualVm it looks like the…
Raystorm
  • 6,180
  • 4
  • 35
  • 62
1
vote
1 answer

Could someone please tell me how to measure the time taken for heap dumps using either JConsole or VisualVM?

I am trying to analyze the performance impact of trying to take a heap dump for my application that uses close to 3 GB of heap memory. This is to decide and understand if I should enable the possibility of taking heap dumps as a proactive rather…
Rohit
  • 523
  • 2
  • 6
  • 25
1
vote
1 answer

VisualVM memory Leaks?

I am trying to detect the memory leaks in my java application using VisualVM. I am using the VisualVM 1.3.5. I followed the steps which should be said in this tutorial http://rejeev.blogspot.in/2009/04/analyzing-memory-leak-in-java.html After…
Human Being
  • 8,269
  • 28
  • 93
  • 136
1
vote
1 answer

How can I get past this exception involving jvisualvm with oc4j?

Every time I try to start the CPU profiler I get the following exception. I have found reference to this exception in conjunction with Asian languages, but that is not the case here. java.lang.reflect.InvocationTargetException at…
wytten
  • 2,800
  • 1
  • 21
  • 38