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
1 answer

How to provide the arguement -Xshare:off to the java command starting the application

I have a Application running under Tomcat . I want to profile this Application (VisualVM ----> CPU Sampler), as part of that when i launched VisualVM under java bin directory I was seeing the following Message Class sharing is enabled for this…
user663724
0
votes
1 answer

Optimizing java heap usage by String using StringBuffer , StringBuilder , String.intern()

I am monitoring the performance and CPU of a large java application , using VisualVM. When I look at its memory profile I see maximum heap (about 50%) is being used up by char arrays. Following is a screenshot of the memory profile: In the memory…
davison
  • 335
  • 1
  • 3
  • 16
0
votes
1 answer

VisualVM : Comparing performance of two version of same application

I have refactored and tuned my java application. I now want to compare the performance of newer and older version of the application , in terms of their individual CPU and heap memory usage. I am using VisualVM and JDK 1.7. I run them individually…
davison
  • 335
  • 1
  • 3
  • 16
0
votes
1 answer

Can visual vm be included from maven and monitor my application

I am running some benchmark tests for some program. Therefore, I want to know several properties from the application, like the memory usage etc.. I found the visual vm, which is definitely suitable for my application. However, I am not entirely…
Carol.Kar
  • 4,581
  • 36
  • 131
  • 264
0
votes
0 answers

Extended JTextField Memory Leak

I think I have a memory leak, although I'm not sure if I'm interpreting any of this correctly. I am running an application that queries an SQL database for information that I subsequently put into two separate JTables. This works fine. I created a…
Jonathon Anderson
  • 1,162
  • 1
  • 8
  • 24
0
votes
1 answer

Analyse memory leak with VisualVM

My web application has memory leak issue which is hosted on Apache Tomcat 7.0.22 server. I tried VisualVM 1.3.8 to identify memory leak but couldn't reach to root cause. Below is my finding: There is a class present from the web application in…
Rentius2407
  • 1,108
  • 2
  • 11
  • 29
0
votes
1 answer

VisualVM can't connect to any PID on Snow Leopard?

No matter what I start up, Visual VM just gives me "Unknown Application" and "Not supported for this JVM" on my Mac. I've tried JBoss, Jetty, Eclipse - just to see if it would be able to identify / profile anything, and so far, nada. $ java…
lakemalcom
  • 1,016
  • 1
  • 8
  • 17
0
votes
1 answer

Automatically taking thread dumps or heap dumps

I'm trying to monitor a Java Application over a long period of time. I want to automatically take a Thread dump or Heap Dump if number of threads or Heap exceeds some threshold. Is this functionality available via VisualVM or Mission Control or…
DarVar
  • 16,882
  • 29
  • 97
  • 146
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

VisualVM on new 64-bit laptop with JDK7 can't connect to JMX agent

I have a Spring app that runs fine on WebLogic 10.3.x on my old Win7-32bit laptop with JDK 1.6. I can make a local connection to the app from VisualVM and view JMX properties and execute JMX methods. I'm now setting up a new Win7-64bit laptop, with…
David M. Karr
  • 14,317
  • 20
  • 94
  • 199
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
1 answer

Eclipse Kepler, Tomcat 7, on Windows 7, VisualVM cannot see tomcat

I have been trying various ways of getting VisualVM to see my Tomcat web application. I have the config in Eclipse to allow it to control the Tomcat installation. I have all my temp directories set to c:\development\temp in Eclipse, VisualVM, and…
Danpoleary
  • 49
  • 2
  • 8
0
votes
1 answer

How to use remote JMX connection in Websphere Application server 7.0

I have a websphere application server environment running on a remote linux machine, with multiple appserver instances running. I want to use a tool like jconsole or visualvm on my local desktop to monitor the heap size of the individual appservers,…
user1600936
  • 101
  • 1
  • 3
  • 14
0
votes
1 answer

Trouble setting up visualvm on Mac Eclipse

I'm using Eclipse Juno on Mac 10.9.1. I just downloaded the VisualVM (137) app and installed the corresponding Eclipse plugin. However, I'm having a problem configuring the Eclipse pluign. When I go to Preferences -> Run/Debug -> Launching ->…
Dave
  • 15,639
  • 133
  • 442
  • 830