visualvm Questions

0

I'm trying to connect visualvm to my java app which is built run using jetty and gradle. The app is running on localhost, so remote connections aren't required. However, whenever I try to connect t...
Herron asked 10/5, 2017 at 14:41

4

Solved

I would like to profile an application that runs on Tomcat with the VisualVM tool. Unfortunately, when I tell VisualVM to profile Tomcat, Tomcat prints out a couple of messages indicating it is con...
Boldfaced asked 11/12, 2009 at 19:44

3

I am using Java VisualVM on my local windows machine to monitor my remote server(Linux). I am able to get all stats in Bisual VM except "Visual GC". It shows "Not Supported for this JVM". I have go...
Synchrotron asked 26/4, 2013 at 9:37

7

Solved

I've created a simple 1 file java application that iterates through a loop, calls some functions, allocates some memory, adds some numbers, etc. I run that application via eclipse's Run As->Java...
Baggy asked 15/2, 2012 at 15:34

0

I am trying to profile a simple algorithm: "Insertion Sort". The code takes the number of elements to sort and then randomly creates those many elements after which the sorting starts. I am using ...
Auberta asked 16/1, 2017 at 16:56

1

I'm using VisualVM to profile a Scala program that has been compiled with the default of -g:vars, which includes line numbers (verified with javap that the class files have line numbers). However, ...
Nora asked 12/7, 2011 at 6:57

2

I have a 1 GB heap dump from a java process that ran out of heap space. I have uploaded the heap into jvisualm that comes with a java6 distribution. I started the "compute retained sizes" process a...
Cherubini asked 29/11, 2011 at 18:44

7

I'm trying to connect jvisualvm installed with jdk1.7.0_04 to a locally running java process. When I do this, jvisualvm shows a progress bar in the bottom left saying its connecting to the process,...
Fowkes asked 8/5, 2012 at 7:2

3

Solved

I am trying to get visualvm and websphere 7 to work together on my local windows desktop. I try to connect through JMX but no luck. Has anybody managed to get visialvm and websphere 7 to work and o...
Contraposition asked 12/2, 2010 at 16:30

3

Sorry for this question which must have been asked many times, but I can't succeed in resolving my problem. I've read a lot of blogs, sites, forums, .... and didn't find any solution in my case. C...
Geri asked 18/2, 2011 at 18:47

4

Solved

I'd like to use visualvm app through an ssh tunnel (to an EC2 machine) using jmx OR jstatd. How do I do this? Here is a list of what has been tried (and failed): (BTW: if visual vm is not appropria...
Coprophilous asked 10/10, 2012 at 17:36

2

Solved

I have recently reinstalled Windows and I am using JDK 1.8 u91 with the built-in VisualVM. I have checked my proxy settings to ensure that they are all off, both in Windows proxy settings and withi...
Shotten asked 4/6, 2016 at 16:55

2

Solved

I installed Oracle JDK from the webupd8team/java PPA, and then installed the visualvm package. When starting visualvm, I get the following error message: [beni:~]$ visualvm No jdkhome found My $...
Jolson asked 2/1, 2016 at 13:0

3

I'm currently performance hunting. In order to measure the throughput, and to enforce that we don't regress, I'm using the wonderful JMH. When I come across something that is slow though, I want t...
Moniliform asked 23/4, 2016 at 5:25

2

I have .hprof heap dump generated from JVM OutOfMemory (JDK 1.5 version). When I try to add this file in VisualVM, it tells me file is not a valid core dump. However from I'm able to run jhat fo...
Brownnose asked 17/8, 2011 at 15:54

2

Solved

Can someone please explain me the difference between Sleeping, Wait, Park, and Monitor thread states in VisualVM. This is what I have found: Running: thread is still running. Sleeping: thread ...
Falcongentle asked 10/12, 2014 at 16:35

0

Is there any setting that I could configure to enable jvisualvm to display memory and other numbers in human readable format, i.e. in MBs instead of in Bytes, etc. I did investigate but couldn't f...
Triiodomethane asked 7/3, 2016 at 18:21

1

I have my OSGi application launching with the following command in my remote machine: java -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=8080 \ -Dcom.sun.management.jmxrem...
Barite asked 5/1, 2015 at 16:37

2

I created a heap dump file with hprof using this command: java -agentlib:hprof -cp "..\..\jars\trove.jar;.\bin" com.mysite.MyApp This successfully created the file "java.hprof.txt" which was abo...
Dentil asked 9/5, 2013 at 12:11

1

I was wondering if there is a Python equivalent of Java's VisualVM. The feature that I need is real-time profiling of a running Python interpreter. A bit of background: a recent change to my code...
Alexine asked 30/5, 2013 at 14:4

1

Solved

Am trying to profile a remote tomcat appln which is my staging env. But I am unable to get the profiler tab. Tried googling but I couldnt find the exact issue here. Both my remote and local jdk ve...
Musick asked 15/12, 2015 at 7:27

1

Solved

I am trying to CPU profile a JavaFX 8 application with VisualVM (Java 8). While CPU sampling works fine, when starting CPU profiling, the application just hangs and VisualVM reports as status "prof...
Streamliner asked 1/12, 2014 at 8:27

1

Solved

Question Why does VisualVM terminate my program when attempting to view object allocation stack trace, and how do I fix it? I'm cleaning up an application which has a few memory problems, the b...
Soche asked 2/12, 2015 at 21:5

3

Using VisaulVM, I'd like to obtain this as data, without image processing algorithms being applied... How can I do that? I think this won't come out of a snapshot. I am not sure how VisualVM and...
Southwards asked 7/12, 2015 at 15:13

2

Solved

I am attempting to debug a permgen error in an application. I am running VisualVM to profile the app and have taken a heapdump of the memory snapshot. Loading the snapshot into VisualVM for analy...
Hauteloire asked 15/1, 2013 at 15:51

© 2022 - 2024 — McMap. All rights reserved.