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
2 answers
how to find duplicated libs and version conflicting classes using Memory Analyzer Tool
IS Memory Analyzer Tool allows to find duplicated libs, classes and version conflicting classes present in the given input application

Vikas Suryawanshi
- 522
- 1
- 5
- 12
0
votes
1 answer
Jstatd Remote profiler with jvisualvm
I am trying to profile my web application on my local windows 7 PC visualVM.
I created a jstatd.all.policy file with below code under java's bin directory on my CENTOS 6.8 x86_64 server
grant codebase "file:${java.home}/../lib/tools.jar" {
…

Rawat
- 461
- 3
- 6
- 23
0
votes
1 answer
How do I start jstatd in my local machine?
I was trying all the steps mentioned in this link , but unfortunately getting the same old error like
Could not create remote object
access denied ("java.util.PropertyPermission"
"java.rmi.server.ignoreSubClasses"…

murasing
- 412
- 6
- 15
0
votes
1 answer
Memory needed for opening heap dumps .hprof
If I use any Java application like VisualVM to open a heap dump (hprof file), would I need more heap memory for VisualVM than hprof file size?
In my case, hprof is 4Gb file and VisualVM has 2 GB Heap size and it's fails to properly load HPROF file.

Sachin Verma
- 3,712
- 10
- 41
- 74
0
votes
2 answers
How to monitor garbage collection to see what is GC'd?
I have a huge Java app (Running Jdk7 64Bit, Weblogic 12). Running the application without anyone calling it - aka just idling. I can see every 3-4 minutes there is a 300Mb spike and then it is garbage collected using visual vm.
I took several stack…

cp5
- 1,087
- 6
- 26
- 58
0
votes
0 answers
visualVM - Running vs Thread CPU Time
I'm in the process of learning how to use the visualVM utility. Started the Tomcat server in Eclipse IDE and tried getting a hang of the utility and the various options I could use to improve the performance of my application.
For this particular…

Amit
- 23
- 6
0
votes
1 answer
visualvm monitors memory usage
in my tomcat startup, i set -xms , -xmx to 1GB. inside visualvm when i monitor memory
when i do sampling of memory, it doesnt show accurate memory usage, until, if i press 'snapshot', and then the java classes that utilizing memory showing…

cometta
- 35,071
- 77
- 215
- 324
0
votes
2 answers
Profile performance of JMeter when running running as a remote server
When running JMeter on my desktop, I can use VisualVM to monitor the characteristics of JMeter as I perform load tests.
JMeter VisualVM
However, when I set up JMeter on a remote server and have jstatd running, I do not see my application under that…

mlaguren
- 3
- 4
0
votes
0 answers
Concerning TCP connection call while profiling
I'm profiling my Clojure program using VisualVM 1.3.9.
Randomly while profiling (sometime after a couple minutes), I see the following (notice the top entry):
My program has absolutely 0 network functionality on its own (it's a genetic algorithm…

Carcigenicate
- 43,494
- 9
- 68
- 117
0
votes
1 answer
How to reduce heap size in JavaFX application
My JavaFX is using a serious about of memory. How can i reduce this amount?
Is there a way to reduce the heap size and how do i do that in intellij?
I look at a few other questions but none seem to answer my question
Does it make sense to call…

bshek
- 109
- 8
0
votes
1 answer
How to find JDBC connection pool threads created in SpringBoot application?
I have been the following properties in my Spring Boot 1.4 application talking to local MySQL using JDBC -
spring.datasource.test-while-idle=true
spring.datasource.test-on-borrow=true
spring.datasource.validation-query=SELECT…

Martin
- 190
- 5
- 14
0
votes
1 answer
visual vm analyze memory leak
in my visual vm, i click on sample->memory, and i keep see "windowprincipal" class, instances stay at 25. even that right now nobody using the application. is this sign of memory leak?
http://www.freeimagehosting.net/image.php?c069df48c2.gif

cometta
- 35,071
- 77
- 215
- 324
0
votes
0 answers
How should items be freed after JPopMenu.show?
I'm trying to track down why my object MyData isn't being garbage collected, and one problem I'm seeing is that the JPopupMenu, which contains several Actions containing references to the MyData instance, hasn't been collected (verified by…

amos
- 5,092
- 4
- 34
- 43
0
votes
1 answer
Remote monitoring with java visualvm and JMX
I would like to monitor a remotely running java (spring boot) application with jvisualvm (or jconsole). When running locally, I can see the managed beans in both jvisualvm and jconsole. When running remotely I cannot connect. I tried it with several…

Vinoth
- 7
- 2
- 10
0
votes
2 answers
tomcat closed when i open visualvm_profiler
i run tomcat6 by doubleclick on startup.bat on win2003 . then i open up visualvm1.31. I went to the profiler tab, and press memory, then i can statement on tomcat log, "...cache" then suddenly tomcat shutdown itself, there is no error message. …

cometta
- 35,071
- 77
- 215
- 324