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
0 answers

Problems profiling java app remotely using VisualVM 1.3.8 on AWS EMR/EC2 instance

I'm trying to profile an application remotely. VisualVM appears to be a good tool, currently I'm using version 1.3.8. I've installed it on my local machine. The app I need to profile is on an Amazon EMR cluster - I'm using the Master EC2 node to…
null
  • 3,469
  • 7
  • 41
  • 90
0
votes
0 answers

Accessing object fields with VisualVM not working

I'm using VisualVM 1.3.8 to analyze a heap dump and the following query shows up with 0 results: select s from java.lang.String s where s.count >= 0 Doing select s from java.lang.String shows several strings of size >= 0 so I don't see why this…
0
votes
1 answer

How should I start profiling/optimizing my java application/oracle database?

Yesterday I read something abouth application optimization and how a programmer should find the most used parts of the program and by profiling and modifying them getting the most benefit (when looking at the time/work invested vs. memory/speed…
Andrija
  • 937
  • 14
  • 33
0
votes
1 answer

VisualVM - Unable to sampler CPU/Memory

I am unable to use the sampler on VisualVM. I am however able to see the overview & monitor remotely. Here's my startup script to the java application & a video that displays the issue I am experiencing. using…
0
votes
2 answers

How can I measure the performance of a short-running Java application with VisualVM?

I have a small Java app which reads a large file into memory, does some processing and prints some results to standard out. It's bundled as a jar file. I want to measure the performance of the application, both in terms of memory and speed, using…
jcm
  • 5,499
  • 11
  • 49
  • 78
0
votes
1 answer

Is JIT capable to optimize memory allocation?

This is GC diagram from visualvm for a simple application that listens for some incoming stream of data trough websocket... At start it creates a lot of garbage, but as you can see it gets better over time... Is this JIT figuring out somehow how to…
vach
  • 10,571
  • 12
  • 68
  • 106
0
votes
1 answer

Cannot connect visualvm to a custom openjdk7 variant

I have a locally built openjdk7 with a few modifications I made centered around the sun.mic.unsafe interface. When attempting to use visualvm to connect to an application running over said jvm I'm getting grayed out CPU graph and missing threads tab…
Tomer
  • 552
  • 1
  • 6
  • 21
0
votes
1 answer

Estimating memory consumption

I need to estimate the memory consumption of my web application, both in PermGen and Heap memory. I have run VisualVM and saw the neat graphs and the overwhelming list of objects but how can I discriminate between what's the proper server and my…
M Rajoy
  • 4,028
  • 14
  • 54
  • 111
0
votes
0 answers

JVM pauses every hour and heap size drops before reaching max

Disclaimer: I am not a Java expert. My knowledge of Java is limited to System.out.println to be honest. We have been noticing performance issues (application doesn't respond for couple of minutes every hour) with one of our systems and decided to…
Jay
  • 1,980
  • 1
  • 13
  • 23
0
votes
1 answer

VisualVM heap size doesn't follow used size

I'm using the VisualVM to profile a javafx 8 application that does some graphing and uses a lot more memory than I would like. It doesn't seem to be leaking, but for some reason my total heap never decreases even though my used heap spikes up and…
Mark
  • 158
  • 1
  • 2
  • 8
0
votes
1 answer

"can not get class data for sun/java2d/Disposer"

I have used a script successfully in the past and the JDK did not change, but for some reason in this instance I was unable to convert a core dump to a hprof; Attaching to core my.core from executable /opt/jdk1.8.0_31/bin/java, please…
user1133275
  • 2,642
  • 27
  • 31
0
votes
1 answer

VisualVM deployed

I would like to analyze my tomcat's threads in a web application tool. I've used visualvm but it's an application installed on the client. At moment, I need a tool like visualvm but installed on the server, simply a web application tool.
Flavio Troia
  • 2,451
  • 1
  • 25
  • 27
0
votes
2 answers

How can I find what objects/ threads are causing heap space error in Java? (VisualVM, MemoryAnalyzer)

I'm using an ETL software Pentaho (only mildly relevant) -- it's built on Java. I'm getting heap space errors after 80 loops of a process every time --- I can increase the memory allocated to Java -xmx2048 or what have you, but that just "delays"…
user45867
  • 887
  • 2
  • 17
  • 30
0
votes
1 answer

I need to profile a local Tomcat Java Application with Visual VM, but Profile tab is disabled

I have to profile a local Tomcat web application with VisualVM, but when I start VisualVM and open Tomcat connection, the Profile option in Applications menu is disabled and I can't profile it. I'm using VisualVM 1.3.8 and my JAVA_HOME points to JDK…
Idles28
  • 47
  • 2
  • 2
  • 12
0
votes
0 answers

Java Program is getting slower over time

So I am actually seeking for suggested list of causes that may cause my java program to get slower overtime. My java program keeps reading lines (line by line) from files and then for each line it applies the same set of calculation over it. However…