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
VisualVM is not displaying any java application except itself
I'm running a jboss application server that hosts my ear file. Java version is 1.6.0.35. If I run Java VisualVM on the machine where my jboss is running I only see 'VisualVM' under the node 'Local' in the left side tree view. I tried making a JMX…

user3376510
- 1
- 1
0
votes
1 answer
VisualVM Memory sampling
I am doing some memory profiling on a java application using VisualVM. I have a large amount of char arrays and strings but what I want to do is to analyze to which objects they belong.
How can I do that?

user1765902
- 281
- 1
- 3
- 8
0
votes
1 answer
Profile the startup of a java web application
I am having to work on a poorly written, ten year old humongous web application, deployed on IBM Websphere. The problem is it takes forever (almost 40minutes) to start. I have used JVM monitor in the past to analyze a running application, and memory…

Guru
- 155
- 10
0
votes
1 answer
My visualvm just shows Glassfish and netbeans not some of my opend projects in Netbeans
Following visualvm documentation , I've tried to set userdir parameter of visual vm, but none of the following works.
Command
c:\Users\Jack\visualvm_136\visualvm_136\bin\visualvm.exe --jdkhome "C:\Program Files\Java\jdk1.7.0_11" --userdir…

J888
- 1,944
- 8
- 42
- 76
0
votes
1 answer
How to find memory leaks using VisualVM 1.3.6?
I am following this tutorial to find memory leaks. I did all the following steps (on page 6) and the results are as following. The problem is that I am not sure if this result are good or not and if there is any memory leak how to solve it?
The way…

J888
- 1,944
- 8
- 42
- 76
0
votes
0 answers
Don't see bundle content with VisualVM with OSGi
I try to profile some equinox OSGi bundles. I set up my visualVM like descripted here.
I'm able to start my application and visualVM. Than I connect and start profiling. Everything seems to work. But if check the call tree. All I see is the…

Christian
- 1,664
- 1
- 23
- 43
0
votes
1 answer
windows 2003 server - visualGC in visualVm Not supported for this JVM(jdk 1.7)
When I try to see visualGC in visualVm, it says "Not supported for this JVM"
and the soln I found is
run jstatd -J-Djava.security.policy=tools.policy
and when i run this command, i get
C:\Program Files\Java\jdk1.7.0_45\bin>jstatd…

lowLatency
- 5,534
- 12
- 44
- 70
0
votes
1 answer
fatal error detected by JRE with jvisualvm
I'm trying to run jvisualvm. The odd thing it doesn't work 90% of the time and leaves this error:
complete error: http://pastebin.com/fPF4QgkF
first lines of error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV…

Vjeetje
- 5,314
- 5
- 35
- 57
0
votes
0 answers
Java VisualVM - CPU Sampler - find performance issues
I have a serious problem with a java application which is eating the cpu with the time. So I installed VisualVM and saw this:
Something is creating more and more Threads, while the application isn´t used.
Now I would like to know what is causing…

user2693017
- 1,750
- 6
- 24
- 50
0
votes
1 answer
Not able to profile local tomcat with visualvm and the same tempdir
I can't see visualvm profile result on local tomcat on linux box.
I see only status - 0 classes instrumented and no profiling results
RedHat ELS 6.4
java 1.7.0_25-b15
Tomcat and visualvm started with the same java.io.tempdir=/tmp
/tmp dir has…

kolchanov
- 2,018
- 2
- 14
- 32
0
votes
1 answer
VisualVM: in my HeapDump String variables are always null
I have coded a simple program to understand how VisualVM works. Here is the full code:
package memorygames;
public class MemoryGames
{
static class A {
private int i;
private String s;
A(int i, String s)
{
…

KutaBeach
- 1,445
- 21
- 43
0
votes
1 answer
Issue starting jstatd
I'm trying to connect JVisualVM to jstatd. However on my remote server I'm having issues starting jstatd.
# netstat -nlp | grep rmiregistry
tcp 0 0 0.0.0.0:1098 0.0.0.0:* LISTEN 7320/rmiregistry
tcp…

DarVar
- 16,882
- 29
- 97
- 146
0
votes
1 answer
Attribute in MBean is different from the one received by web app
I have a service that's can be accessed via jconsole/Visual VM.
@ManagedResource
public class MyService
{
private String foo;
@ManagedAttribute
public void setFoo(String newVal) { this.foo = newVal; }
@ManagedAttribute
public String…

0x56794E
- 20,883
- 13
- 42
- 58
0
votes
1 answer
Using Java Profiler (VisualVM) with Oracle Application Server (OAS)
I need to optimize JSF application. It's running on a localhost Oracle Application Server 10g (OAS).
I would like to use VisualVM to profile the said application but it couldn't detect the instance of OAS.
Do have links or tutorials on how to…

epsac
- 198
- 5
- 17
0
votes
1 answer
Is there any possible way to view more detailed information about methods in VisualVM?
For example, say I have a method doThis() that VisualVM shows has the greatest "Self time". Would it be possible to view the time or CPU usage of specific lines of code or method calls within doThis()?

John
- 3,037
- 8
- 36
- 68