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.
Questions tagged [jvisualvm]
365 questions
0
votes
1 answer
Uses SQLite in-memory database Java heap space?
I have developed an Eclipe RCP tool, which uses SQLite in order to store a big amount of tuples. Now, I wanted to see the difference in using RAM, while using an in-memory SQLite database in contrary to a file-based database. Therefore, I used…

tralala
- 163
- 2
- 16
0
votes
1 answer
Weird memory behavior under Tomcat 8 (jvisualvm)
I am testing a java webapp on Tomcat 8.0.3 and Java 8 (build 1.8.0-b129 64-Bit Server VM (build 25.0-b69, mixed mode) on Windows 8.1.
The application runs out of memory after just a few mouse clicks. It is known to run fine on Windows 7 with Tomcat…

serg.nechaev
- 1,323
- 19
- 26
0
votes
0 answers
Monitor WebSphere Application Server console with JVisualVM
I am running several applications in IBM WebSphere Application Server (WAS) 7. The applications can be managed from the WAS console: http://{myserver}:9060/ibm/console/login.do
I am able to monitor those deployed applications with JVisualVM. How can…

Agustin Treceno
- 351
- 3
- 5
0
votes
2 answers
how to get the information of objects loaded into memory
In my project we are using a small profiling tool for Java. It shows all objects loaded into memory by our application and reflects changes in the objects in real-time. We mostly use it for debugging.
My question is: How can it work? How does an…

JavaPassion
- 112
- 1
- 1
- 7
0
votes
1 answer
jvisualvm not showing any information about my application packages when profiling
I am using jvisualvm in order to profile my application.
My application base package is com.bignibou
I have added the following settings in jvisualvm's "Profile only packages" field:
com.bignibou.*, org.springframework.*
I noticed that only the…

balteo
- 23,602
- 63
- 219
- 412
0
votes
1 answer
Firewall rules for jstatd
I'm trying to run a jstatd on a remote server. According to the documentation I created a policy file and startet the deamon with the following command:
jstatd -p 1199 -J-Djava.security.policy=
In the following posts I read that…

AnarchoEnte
- 558
- 4
- 20
0
votes
2 answers
Memory leak in web-app, tomcat+hibernate+Guice
After several redeploys app crashes with PermGen error. I know abou workarounds with increasing permgen size. But I try to reveal cause of leak. After redeploy I'v made heap dump with jvisualvm and searching for instances of WebAppClassLoader. As…

Kolchuga
- 716
- 6
- 17
0
votes
1 answer
Comparing "objects allocated" in a JVisualVM snapshot to number of instances in a Java heap dump
I was using JVisualVM to look at an application, and I saw many objects of SomeDomainClass in the memory profiler and snapshot. A Java heap dump (.hprof file) produced shortly thereafter contained no instances of SomeDomainClass. Because the…

kc2001
- 5,008
- 4
- 51
- 92
0
votes
1 answer
Debug remote Grails application with jvisualvm
I have a Grails 2 application deployed on Tomcat 7, running on an Amazon EC2 Ubuntu instance. What are the minimum steps required to remotely debug/monitor the app via an SSH connection, for example using jvisualvm (which ships with the JDK)?

miek
- 3,446
- 2
- 29
- 31
0
votes
1 answer
In JVisualVM thread count decreases drastically without any change configuration concern
We are monitoring JBOSS application for last few days and seeing thread count was ranging from 4000 to 6000.
yesterday, All of sudden it decreased to 600-800 range and point to note down is we haven't made any configuration changes in JBOSS or…

Vicky
- 319
- 3
- 6
- 16
0
votes
1 answer
fatal error detected by JRE with jvisualvm
I'm trying to run jvisualvm. The odd thing it doesn't work 90% of the time and leaves this error:
complete error: http://pastebin.com/fPF4QgkF
first lines of error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV…

Vjeetje
- 5,314
- 5
- 35
- 57
0
votes
1 answer
How can I monitor Hadoop in pseudodistributed mode using JVisualVM?
I'm running Hadoop in pseudodistributed mode for testing on my local machine. I'd like to monitor my mappers' and reducers' memory and CPU usage in JVisualVM. However, in JVisualVM's list of local applications, I only see…

Jim Pivarski
- 5,568
- 2
- 35
- 47
0
votes
1 answer
Issue starting jstatd
I'm trying to connect JVisualVM to jstatd. However on my remote server I'm having issues starting jstatd.
# netstat -nlp | grep rmiregistry
tcp 0 0 0.0.0.0:1098 0.0.0.0:* LISTEN 7320/rmiregistry
tcp…

DarVar
- 16,882
- 29
- 97
- 146
0
votes
0 answers
Automatically launching a pre-set configuration in VisualVM
I am trying to profile functions in my java application using VisualVM (eclipse plug-in). Right now when I run an application, eclipse opens VisualVM and takes me to the profilers tab where I can start profiling by pressing the CPU or Memory…

VJune
- 1,195
- 5
- 16
- 26
0
votes
3 answers
Why InputStream.available() so time consuming?
I have implemented my own class to read pcap files. (Binary files, i.e. tcpdump, wireshark)
public class PcapReader implements Iterator {
private InputStream is;
public PcapReader (File file) throws FileNotFoundException,…

Nikolay Kuznetsov
- 9,467
- 12
- 55
- 101