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

what is the jvm byte[] instance charset

I run application using idea and dump heap useing jvisualvm. a byte[] instance looks like 5, 0, -110, 104, 6, 9, 1, 2, -112, -128, -127, 0, 9, -110, 100, 2, 5, 84, 114, 101, 101, 115, 10, 2, 3, 4, 1, 3, 97, 112, 105, 10, 2, 5, 6, 1, 7, 114, 101,…
roamer
  • 143
  • 1
  • 9
1
vote
0 answers

Python remote process diagnostic tool

I have a python distributed app running in IBM symphony compute cloud. for one of the batch runs in the app, I see massive swaps due to ram of few hosts nearly getting full. So I am looking for any tool and setting for python, which can enable me to…
1
vote
1 answer

Is VisualVM instrumenting bytecode?

I'm confused a little: AFAIK VisualVM perform profiling and sampling, so does it mean it not only makes dumps (thread stacks + memory state) but also instrumenting the code? From here: https://stackoverflow.com/a/12130149/10894456 explained the…
J.J. Beam
  • 2,612
  • 2
  • 26
  • 55
1
vote
1 answer

Hikari pool activeConnections not showing in JMX mbean

I was monitoring the spring boot application through java Visual Vm. I want to monitor the connection pooling . HikariCP is the one used for connection pooling. I am not able to see the number of active connections in the details. Attached…
Vipin CP
  • 3,642
  • 3
  • 33
  • 55
1
vote
1 answer

jvisualvm is not working with eclipse

For who knows what is the jvisualvm, I downloaded a plugin to eclipse to initiate the application with the jvisualvm. But unlike the official site says, when I run any java application, the program does NOT appear in the left side. There's only one…
alansiqueira27
  • 8,129
  • 15
  • 67
  • 111
1
vote
0 answers

Port bind error on running jar with JMX parameters

I am trying to profile my java application with jVisualVM using JMX on Ubuntu 18.04 with openjdk-1.8.0_222. But I am not able to start the java application with the required environment variables for using JMX as the communication medium. The…
Rajeev Ranjan
  • 3,588
  • 6
  • 28
  • 52
1
vote
1 answer

How to filter variables by its value in a dump file?

As you see from the picture, I've dumped a binary file from a java process and use VisualVM to analyze it. And I believe there is something wrong with a key called "rn64832", but I can't filter the ConcurrentHashMap with the problem key and…
Jiayi Liao
  • 999
  • 4
  • 15
1
vote
0 answers

Remote connection via JMX seems to hang in visualVM

I'm trying to remotely profile a java application which runs on the JBoss 4.2.2.GA application server that uses the 32-bit version of Java 1.7.0_03 and, furthermore, is wrapped by Tanuki service wrapper, so as it can be deployed as a Windows…
Kapoios
  • 688
  • 7
  • 22
1
vote
2 answers

Is it possible to do CPU and memory profiling in simultaneously in jvisualvm?

I have an application which runs a rather long analysis (lots of number crunching) so running the application once takes about 3-4 hours, fully utilizing all of the cores. Now I am pretty sure my code is not water-tight so I want to profile and look…
posdef
  • 6,498
  • 11
  • 46
  • 94
1
vote
0 answers

How to identify blocking between threads in Java VisualVM

After introducing multithreading I am not seeing any speed gains in my project. I am assuming this is due to synchronisation between each thread. To identify this I am hoping to use Visual VM profiling and as seen below it does identify substantial…
TobyFox1997
  • 71
  • 1
  • 5
1
vote
0 answers

how to generate *.nps cpu snapshot from commandline

How to generate *.nps file cpu snapshot from commandline? Can't find a clue from -help commandline or visualvm.github.io. I know how to use it from ui, but need it triggered from monitoring tools.
blukit
  • 113
  • 2
  • 5
  • 12
1
vote
0 answers

jvisualvm is not available in JAVA_HOME/bin directory in Fedora

I've installed java 8 in Fedora 28 OS. I read that I don't need to install it separately it is bundled with jdk. But jvisualvm option is not present in JAVA_HOME/bin directory. Below are the files in bin directory. $ ls appletviewer idlj jarsigner…
user51
  • 8,843
  • 21
  • 79
  • 158
1
vote
0 answers

Changing an application's title in JVisualVM at runtime

As described in https://stackoverflow.com/a/8414055/130758, I know it's possible to set the application display title in JVisualVM by using -Dvisualvm.display.name=ApplicationName. But I'd like to know if it'd be possible for the application to…
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
1
vote
1 answer

java.lang.SecurityException on add JMXConnection in jvisulavm

Hello Fellow developers, I am trying to open up a jmx connection to an application using jvisualvm, but when I add the connection it fails with SecurityException. Can anyone help me figure out how I can avoid this? Full stack trace SEVERE…
user3407243
  • 35
  • 1
  • 7
1
vote
1 answer

JVisualVM - Profiler - agent jar loaded but agent failed to initialize

I'm trying to run a profiler with JVisualVM on a WebLogic Server, running: /u01/app/oracle/jdk/bin/./jvisualvm but i'm getting the following error: I ran with logging enabled: ./jvisualvm -J-Djava.util.logging.config.file=../logging.properties How…
fsakiyama
  • 337
  • 3
  • 13