Questions tagged [visualvm]

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.

653 questions
0
votes
2 answers

Why is VisualVM always be connecting

I try to use visual vm to profile my web app served with jetty. But Visual VM is always be connecting... Cannot connect to the local process and show the diagram. My Env archlinux latest version visualVM 1.3.5 Jetty8 openjdk 7u17
jilen
  • 5,633
  • 3
  • 35
  • 84
0
votes
1 answer

Polling MBeans Attributes with out refresh

This is what I did: Step 1: Exposed MBeans Attributes: Step 2 Polling Options What else do I have to? Still I don't see attribute values getting updated without clicking on refresh.
Himanshu Yadav
  • 13,315
  • 46
  • 162
  • 291
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
1 answer

How can you run profiling on a Java application wrapped as an .exe?

I would like to run profiling using jstatd and visualvm against a third-party Java application which has been wrapped as an .exe. Does anybody have advice on how this can be achieved?
carlspring
  • 31,231
  • 29
  • 115
  • 197
0
votes
1 answer

Thread dump showing lots of blocked processes

I am debugging a GWT web application that has been running out of permgen space after running for a while, and noticed in the thread dump in VisualVM that there are 248 processes waiting to lock the same StringBuffer, e.g.: 2013-02-27 10:56:30 Full…
aco
  • 719
  • 2
  • 9
  • 26
0
votes
2 answers

java memory leak using visualvm

I've started to debug my software using visualVM. I only started to get familliar with this software. I have memory leak. I found sth that is suspected, but dont know what to make of it. What is the next step?
user502967
  • 327
  • 1
  • 3
  • 13
0
votes
1 answer

Naming a JMX connection when using --openjmx

I am using the Java Visual VM command line to open remote JMX connections. I use it like this: jvisualvm.exe --userdir "user-config" --openjmx hostname:port This works perfectly fine. But the connection name in the view shows as hostname:port. Is…
ganeshk
  • 5,583
  • 3
  • 27
  • 31
0
votes
1 answer

VisualVM Sampler CPU swing paint() weirdness

I've been profiling my swing application which is visual and does a lot of repainting: by calling repaint and doing paint in paintComponent(). I am using VisualVM and used the Sampler to see which methods use a lot of cpu. A lot of my paint methods…
T. Akhayo
  • 411
  • 6
  • 13
0
votes
0 answers

Does JVM memory management work the same on Windows and Linux?

My original question is that, is this technically rational to check the required heap-size of my Java program on Windows 7, via VisualVM, and come to this conclusion that the program will require the same amount of heap on Linux(RedHat) as well? I…
mostafa.S
  • 1,452
  • 4
  • 16
  • 27
0
votes
2 answers

JFrame in remote between JDK 5 (Server) and 6 (Client - VisualVM)

So I have a little trouble on the opening of a JFrame. I searched extensively on the net, but I really can not find a solution ... I explained the situation: I need to develop an application that needs to retrieve information tracking application…
0
votes
1 answer

Error when profiling local JBoss 7 using VisualVm

I'm trying to profile a local JBoss 7 server using the visualvm tool packaged in the jdk6. I can connect the visualvm to the local jboss server. But if I start the CPU profiling in the profiler tab of visualvm, the JBoss server dump a lot of error…
John Wang
  • 4,562
  • 9
  • 37
  • 54
0
votes
1 answer

Profiling Java app : Cumulative times for methods recursively

Consider this producer-consumer code using a ArrayBlockingQueue : I want to find out a. How much total time is consumed by put()/take() overall ? b. how much total time is spent by the put() and take() calls in waiting ? Blocked ? Taking a…
Bhaskar
  • 7,443
  • 5
  • 39
  • 51
0
votes
1 answer

VisualVM heap dump inconsistency with profiler

I am using VisualVM (Built in JDK1.6) to analyze my Java application looking for memory leaks. I am using Heap Dump and the Profiler ( memory monitor ) both VisualVM features... there is some inconsistency i cant understand, when dumping the heap i…
assaf_miz84
  • 687
  • 2
  • 15
  • 33
0
votes
1 answer

Using visual virtual machine for profiling

I have a simple java program containing not more than 10 method calls. I want to profile it using visual virtual machine. Pl note that i am using linux. I try to do the same by following command. sh visualvm_134/bin/visualvm & java…
Ragini
  • 1,509
  • 7
  • 28
  • 42
0
votes
2 answers

A Simple JMX Monitoring Tool that persists data too

I use Java Visual VM to monitor my App Server (JBoss) via JMX. The problem is that i can see only real-time data. I want to capture the information permanently, so that i can see history anytime. Even when Java Visual VM has been…
Jasper
  • 8,440
  • 31
  • 92
  • 133
1 2 3
43
44