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
2 answers

JVM remote profiling with JVisualVM

I am trying to profile my jvm applications on a remote host. I am using Jvisualvm I setup jstatd as recomended in this (link removed, leads to phishing website). I am able to "telnet remotehost 1099" successfully. All the tcp/ip ports are firewall…
smartnut007
  • 6,324
  • 6
  • 45
  • 52
1
vote
1 answer

How to execute eclipse under java VisualVM

I developed couple of plugins specific for my project and I think I have some leackage because my eclipse slow down after long using time, so I want to profile it. I can run eclipse from eclipse (in plugins development mode) and connect it to JVVM,…
tomekK
  • 748
  • 8
  • 19
1
vote
3 answers

JVisualvm:How to take heap dump after the application terminated?

I searched about it but didn't find any way to get heap dump after the application terminated. From eclipse I am triggering a process of creating a new project using eclipse plugin development. At the code level I have two approach to create new…
Sanjay Jain
  • 3,518
  • 8
  • 59
  • 93
1
vote
1 answer

jvisualvm - How to provide an icon and another name than the invoking class for my program?

I have an application where I want to be able to provide my own icon and descriptive text for jvisualvm. (I do not want to configure jvisualvm, just provide better metadata from my application) The best would be at runtime since we have distinct…
Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
1
vote
3 answers

HEAPSPACE ERROR: cannot figure out what is causing the error

Would anyone mind having a look at these bits of code and see if there is a memory leak in them, it isn't going to be overly large but my program keeps crashing after a while of running and I don't know how to use viualvm even though I have been…
pie154
  • 603
  • 3
  • 10
  • 28
1
vote
0 answers

Issues with latest JRE (7u7) and latest Tomcat (7.0.30) when using 64 bit versions?

I wanted to install the standalone version of Tomcat on Windows 7 in order to profile a web app with jvisualvm (the service version can only be profiled with jmx and this has some limitations). I used the opportunity to try out the 64 bit versions…
JayPea
  • 9,551
  • 7
  • 44
  • 65
1
vote
1 answer

jVisualVM - JIT activity metrics

I've just tested some J2EE containers with jVisualVM, but I have troubles with correctly interpreting scores. I saw that values of JIT activity often are over 100% (sometimes 800%). What does it mean? I've read that JIT activity are counted based on…
bontade
  • 3,194
  • 6
  • 48
  • 75
0
votes
1 answer

Profile option does not show up in Java VisualVM for Tomcat

Using Java Visual VM I can't profile a Tomcat application. It appears correctly in the Applications section, but the "Profile" option is missing. The Tomcat is launched from Eclipse. My JDK version is 1.6.21. Tomcat is 6.0.29. I tried adding the…
Juan Calero
  • 4,124
  • 5
  • 31
  • 45
0
votes
2 answers

Tomcat org.apache.catalina.connector.requestfacade.getsession() takes more than 44.7% CPU resources

I have built a stateless java servlet web application and the requirement is to accept at least 5000 transaction per second (with 150 concurrent thread). I am using ehcache together with SQL server 2005 to avoid writing to the slow harddisk. In the…
Reusable
  • 1,888
  • 7
  • 27
  • 46
0
votes
0 answers

java visualvm jdbc profiler: does it capture the final sql statements that are actually executed by the DB?

I am using JVisualVm's jdbc profiler to monitor my local java program. It would capture something like this: select * from reservation v where v.name like '%'%' If you try to run this in pgadmin, it would throw error: For PgAdmin to run it, we…
Cui Pengfei 崔鹏飞
  • 8,017
  • 6
  • 46
  • 87
0
votes
1 answer

JVisualVM to run scripts when CPU reached 100%

using JVisualVM 2.0.5 I found an instance where the CPU usage of my application reached 100%. Is there a way for me to run scripts to check what happened during this time (01:00:13PM). I checked my logs and nothing significant happened. I'm planning…
RAFJR
  • 362
  • 1
  • 7
  • 22
0
votes
1 answer

VisualVM heap dump "Summary" shows way more roots than "Objects->Preset: GC Roots" shows, what does it mean?

I suspect a slow memory leak caused by JNI code. I'm seeing the GC Roots # in the summary of consecutive heap dumps climbing. After two hours it showed 470,000 GC roots, after six hours, almost a million more GC roots, after 33 hours over 7…
swpalmer
  • 3,890
  • 2
  • 23
  • 31
0
votes
0 answers

Finding total number of objects created throughout lifetime of an Java application using VisualVM or something

I know that using "Sampler", we can figure out the number of objects created at any given point in time but is it possible to figure out the total number of objects created throughout the lifetime of an Java application using VisualVM or any other…
iamsmkr
  • 800
  • 2
  • 10
  • 29
0
votes
3 answers

Need help running visualvm on Windows when under VMWare

I am doing some Java development on Windows 7 x64 running inside VMWare Fusion 3.x (OSX). I have installed JDK6 (update 26), set JAVA_HOME to the path (no trailing slash), and restarted my command prompt. I can successfully launch the program.…
cremes
  • 33
  • 1
  • 4
0
votes
0 answers

i have this error java.lang.Error: SWT Resource was not properly disposed while building Swing application

i have this error java.lang.Error: SWT Resource was not properly disposed while building Swing application - i saw it when monitor it by visualvm.exe -when get heapdump and open it by eclipse MAT and this makes memory leak java.lang.Error: SWT…