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
5
votes
4 answers

Connect JVisualVM to a Remote Wildfly Instance?

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, and I don't know who did, but I do know that I can log…
ArtOfWarfare
  • 20,617
  • 19
  • 137
  • 193
5
votes
3 answers

Saving VisualVM information as data

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 jVisualVM vary, the naming is sure confusing, but I'm…
matanster
  • 15,072
  • 19
  • 88
  • 167
5
votes
0 answers

hibernate environment not set in jconsole

I use hibernate-jconsole-1.0.7.jar to monitor hibernate. But Whenever I run the jar, Jconsole starts with an exception. Here is the Jconsole output, javax.management.InstanceNotFoundException: Hibernate:application=Statistics is not registered. …
5
votes
1 answer

How to attach VisualVM and start profiling immediatedly with application start?

I can attach VisualVM to a running application, then start profiling. All this time while I am performing manual operations, the target application is running and statistics is loosing. How to begin collecting statistic exactly at the same moment…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
5
votes
5 answers

jvisualvm: Stuck on “Loading Heap Dump...” screen

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 of my .hprof file is around 5.5 GB. When I try to…
Kuldeep Jain
  • 8,409
  • 8
  • 48
  • 73
5
votes
1 answer

Statistics of objects in old generation?

Is there any tool to view object statistics on the different generations of a JVM Heap? I'm looking into a potential memory leak and need some data over the different generations. The use case I have is to take a snapshot over object in old…
Cowboy
  • 515
  • 1
  • 6
  • 13
4
votes
1 answer

How do you run jvisualvm.exe under the local system account under Windows Server 2008?

I've been looking for a comparable approach as posted here for Windows Server 2003 for starting jvisualvm under system account. But I got the error: ...\jdk1.6.0_24\bin\jvisualvm.exe exited on ... with error code -1073741819. I found that…
4
votes
1 answer

How to change the application name in VisualVM?

How can i change the application name in VisualVM ? I have multiple applications that where started from my IDE, but it's hard to distinguish them, there name are equal and the only difference is the PID. So i want to give them meaningful names, but…
Chriss
  • 5,157
  • 7
  • 41
  • 75
4
votes
3 answers

JVisualVM Memory Sampling : Remote applications are not supported

I am trying to monitor remote tomcat process with JVisualVM in Red Hat Linux. CPU sampling works fine but Memory sampling tab is disabled. It says "Memory sampling: Not available. Remote applications are not supported". Command line parameters of…
RandomQuestion
  • 6,778
  • 17
  • 61
  • 97
4
votes
4 answers

Java Memory Usage / Thread Pool Performance Problem

These things obviously require close inspection and availability of code to thoroughly analyze and give good suggestions. Nevertheless, that is not always possible and I hope it may be possible to provide me with good tips based on the information I…
UmaN
  • 905
  • 1
  • 15
  • 29
4
votes
1 answer

Profiled application started too soon

When I try to perform the application startup profiling getting Profiled application started too soon have attached error message screenshot below. This warning shows after I forcibly killed a previously profiled application. Have restarted my…
Anand Kumar
  • 156
  • 7
4
votes
2 answers

How do I monitor Tomcat6 with JVisualvm in Ubuntu Linux?

I'm trying to set up JVisualVm to monitor a Tomcat 6 instance (running on Ubuntu Server 10.04 LTS). I've seen other questions, but none of them directly answer my problem. I try to connect to Tomcat with JVisualvm and it comes back with a "Cannot…
Mei
  • 1,129
  • 1
  • 11
  • 20
4
votes
1 answer

Why can't I attach jvisualvm to an instance of tomcat started from inside osx?

I'm starting tomcat from inside netbeans. I'd like to monitor the heap usage on that instance of tomcat so I fire up jVisualVM. However the process isn't listed. Any ideas?
Karthik Ramachandran
  • 11,925
  • 10
  • 45
  • 53
4
votes
0 answers

ERROR: attach: task_for_pid(23990) failed: '(os/kern) failure'

I start jstatd in server: /opt/dabai/tools/jdk1.8.0_211/bin/jstatd -J-Djava.rmi.server.hostname=172.19.150.82 \ -J-Djava.security.policy=/opt/dabai/tools/jdk1.8.0_211/bin/jstatd.all.policy \ -J-Djava.rmi.server.logCalls=true When I using jvisualvm…
Dolphin
  • 29,069
  • 61
  • 260
  • 539
4
votes
1 answer

out of memory error when use the VisualVm to analysis heap dump

when use the heap dump of visualVm, there is an option to see all the instances of a specific class, but when the instances is to much, i got this error: out of memory in heap walker: To avoid this error,increase the -Xmx value in the…
Ray
  • 477
  • 1
  • 6
  • 18