visualvm Questions

6

I'm still learning the ropes of Java so sorry if there's a obvious answer to this. I have a program that is taking a ton of memory and I want to figure a way to reduce its usage, but after reading ...
Eous asked 11/4, 2012 at 15:20

2

Solved

I am running Tomcat 6 on a Linux server in Amazon's cloud. I am trying to connect to it with VisualVM from my Mac at my office. I have allowed opened up all TCP ports between my desktop and the ser...
Biweekly asked 11/5, 2012 at 0:28

4

Solved

I am using VisualVM to analyze a core dump. I suspect some XML objects to be causing the leak but there are way too many String objects to go through one by one. Can I use OQL to search String th...
Valenzuela asked 17/7, 2012 at 17:15

0

Can somebody explain what is Reverse Call and Forward Call in VisualVM tool.I am not able to find it in anywhere
Parhe asked 26/11, 2019 at 11:30

4

Solved

If I start a java process in a cygwin console, and then launch visualVm, the later cannot see the former. If I start the same process in a Dos console visualvm sees it fine. I am in jdk1.6.0_25. T...
Stoker asked 13/7, 2011 at 9:58

2

How to profile JUnit test run from Intellij Idea with VisualVM? VisualVM doesn't see any process? is it possible to do?
Ironworker asked 9/7, 2014 at 16:52

1

Solved

I can monitor applications with VisualVM if I use the AdoptOpenJDK HotSpot build for Java8. If I use the OpenJ9 build, VisualVM displays the error "Local applications cannot be detected". Did anyb...
Freefloating asked 13/8, 2019 at 7:27

0

Story: I am resolving some performance issues on my Web Application Application background: This Application is written in Java, with Velocity Template Engine, and front-end javaScript using Tomcat...
Luminosity asked 4/8, 2019 at 13:50

2

Solved

how do I find size of object in heap including all the objects it references from its fields? In the Classes view under heap dump, the size only indicates the "shallow" size of object. I would lik...
Empennage asked 25/9, 2014 at 18:56

1

I have conected tomcat(8GB heap memory is allocated) to visualvm. In visualvm, Under the tab sampler -> memory , Total allocated memory is shown as 17GB(18470717672 bytes). But only 8GB is allocate...
Merchandise asked 5/7, 2019 at 18:38

4

I'm trying to connect JVisualVM, running on my local machine, to a remote machine which is running a WildFly server (version 8.1.0, to be specific.) I didn't configure the WildFly server myself, a...
Allometry asked 29/4, 2016 at 20:26

2

Solved

I am trying to profile a remote JVM with VisualVM 1.4. I am running macOS High Sierra 10.13.6 locally, with the following OpenJDK version: java -version openjdk version "1.8.0_181" OpenJDK Runtime...
Spadefish asked 13/3, 2019 at 13:24

3

Solved

How can I profile a JUnit Test, preferentially with Eclipse integrated support? I'm trying to do it using VisualVM but apparently it can't be done. I'm using Windows 7 x64, Eclipse Indigo, jdk 1.6...
Vashtivashtia asked 6/8, 2012 at 10:39

5

I am using jdk64 and my java version is "1.6.0_24". My tomcat is running with -Xmx7196m, and jvisualvm is running with -J-Xms2048m -J-Xmx3072m. I took a heap dump of my tomcat java process and size...
Tog asked 11/3, 2014 at 6:40

10

I have a tomcat instance with the JMXRemote parameter configured. The local VisualVM is able to get a sampler on CPU, however, not for Memory. The memory button is grayed out with a summary saying:...
Presbyterian asked 10/1, 2012 at 7:32

1

I'm trying to use VisualVM with IntelliJ to profile a Java application. I have the VisualVM Launcher plugin installed inside of IntelliJ. I press the play button with the orange circle in IntelliJ ...
Breannabreanne asked 4/2, 2017 at 19:31

3

Solved

I am using VisualVM to see where my application is slow. But it does not show all methods, probably does not show all methods that delays the application. I have a realtime application (sound pro...
Kerbstone asked 24/12, 2012 at 20:52

1

Solved

VisualVM does not start after installing it with sudo apt install visualvm on Ubuntu 18.04. It simply does nothing. Starting it with visualvm -J-Djava.util.logging.config.file=logging-jconsole.pro...
Bathos asked 29/5, 2018 at 14:1

5

I'm using VisualVM to monitor a number of JAVA applications, I would like to install some of the plugins that are available within this app.. Unfortunately the 'Available Plugins' option does not w...
Malfunction asked 6/5, 2014 at 14:4

2

Solved

I'm trying to set up a JMX monitoring for a comand line app build with spring-boot. According to https://github.com/spring-projects/spring-boot/tree/master/spring-boot-actuator I just have to add ...
Diplomacy asked 10/9, 2014 at 10:45

4

Solved

My tomcat (version: 5.5.25) runs an application which I try to profile with VisualVM (ver: 1.3.2). Everything looks nice but not all classes and methods are shown in visualVM. They ones that are m...
Imidazole asked 25/7, 2011 at 8:49

0

I am investigating the memory leak for quite a while now and I can not figure it out. Basically my application queries a rest service around 20 times per minute, creates POJOs from the result and ...
Sherleysherline asked 7/8, 2017 at 11:13

1

Solved

I want to profile my test application started by IntelliJ. For profiling I use VisualVM. I started the Java tool with the parameter -J-Dorg.netbeans.profiler.separateConsole=true. I started the app...
Precocity asked 6/8, 2017 at 14:20

3

I am running JDK 1.8.0_66 JVisualVM utility and want to use MBeans browser to Monitor my Coherence applications. According to the Oracle tutorial I have to install the MBeans plugin first. So I wen...
Bussey asked 11/8, 2016 at 20:1

5

I am new to Java and I'm facing a problem in connecting a Remote Host to the JVisualVM. I've searched the Internet and followed all the steps mentioned there but still am not able to resolve the i...
Attainture asked 24/10, 2011 at 5:49

© 2022 - 2024 — McMap. All rights reserved.