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

Monitor 2 apps on the same machine with VisualVM

I have a Mule project running locally and I need to test it for memory usage. I'm currently trying to use Java VisualVM and I like it so far. Unfortunately I'm encountering problems when I try to test this app because it is a client app that…
Drew Ingram
  • 75
  • 1
  • 9
0
votes
2 answers

How Java VisualVM shows threads that are not running/finished?

For testing I've created a thread which has just sleep in it. And I know that GC doesnt collect them for a while even if their usage is done but when you dont keep them as an object after they complete their task they should've be gone. So for…
Jeredriq Demas
  • 616
  • 1
  • 9
  • 36
0
votes
3 answers

web application hangs in tomcat 6.0.21/7.0.11 without clue

I just have a web application which hangs after few minutes. Basically, this is an application to build and preview forms, very customized, and after few minutes of intensive user interaction, the application just stops working. This means, a…
w i l l y
  • 1
  • 1
  • 1
0
votes
2 answers

Integrate Visualvm with Eclipse (4.9) and JDK 10

I tried to integrate VisualVM with Eclipse (Version: 2018-09 (4.9.0)) by follow the very basic instructions given here. I run a windows machine, and have JDK 10 installed. Downloaded and unzipped VirtualVM Downloaded and installed Virtual…
c0der
  • 18,467
  • 6
  • 33
  • 65
0
votes
1 answer

Getting compile error while building ant project

I am building this project https://github.com/oracle/visualvm . I have JDK10 in my system. I changed the source and target option in build xml to 1.8 from 1.5, as there were error saying 1.5 is not supported anymore. Now, I am getting a compile…
0
votes
1 answer

Unable to use VisualVMLauncher with IntelliJ Idea

Here are my environment details: IntelliJ IDEA 2018.2.3 (Ultimate Edition) Build #IU-182.4323.46, built on September 3, 2018 JRE: 1.8.0_152-release-1248-b8 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 Plugin: VisualVM…
vivekmore
  • 403
  • 5
  • 19
0
votes
0 answers

How to identify and solve memory leak and too many open file issue in groovy grails application?

I am learning to look at heapdump to solve memory leaks. From the heap dump I can see 217 count for AuditLogger and SessionInterceptor classes. Does this mean there is a memory leak in these classes? Particularly on the following…
AabinGunz
  • 12,109
  • 54
  • 146
  • 218
0
votes
1 answer

Garbled characters when lauching jvisualvm from linux jdk

I run jdk version 1.8.0_172 exported the diskpaly then I run jvisualvm from $java_home/bin the OS is oracle enterprise linux 7. I have garbled unreadeable characters. this is the output of jvisualvm…
danidar
  • 179
  • 2
  • 10
0
votes
1 answer

Application is crashing when record allocation stacktraces option is selected in VisualVM memory profiling

Application is crashing when "record allocation stack traces" option is selected in VisualVM memory profiling. I am using VisualVM available as part of JDK 1.8 As per below link VisualVM in JDK 1.8 has issue and we need to use the one available in…
Rob Wilkinson
  • 1,131
  • 5
  • 18
  • 34
0
votes
0 answers

Monitoring Application Metrics Using JMX & VisualVM

I am trying to monitor some Java Application specific Metrics. Appliation is running on Hadoop(yarn) and I'm using Linus Ubuntu to run some local jobs. I have HADOOP_OPTS set up in hadoop-env.sh for namenode datanode & resourceManager and I can see…
faranak777
  • 449
  • 2
  • 8
  • 19
0
votes
1 answer

VisualVM not working on Windows 10: jpswin2

I'm currently trying to hunt down a/some memory leak in a java web/soap application and therefore I want to use VisualVM with plugin in IntelliJ. I'm using as environment: Windows 10 1607 14393.2248 Java 1.8.0_121 VisualVM 1.4.1 At first after…
PaulEdison
  • 897
  • 1
  • 15
  • 36
0
votes
1 answer

Why is the heap utilisation increasing over time even if my program does not create any new objects?

This is a very basic question. But I am not getting any clear answer over internet. I have the following code public static void main(String[] args) throws InterruptedException { Thread.sleep(1000000); } I connected JVisualVM and started…
ptk
  • 105
  • 9
0
votes
1 answer

Confusing Zookeeper Memory usage

I have an instance of zookeeper that has been running for some time... (Java 1.7.0_131, ZK 3.5.1-1), with -Xmx10G -XX:+UseParallelGC. Recently there was a leadership change, and the memory usage on most instances in the quorum went from ~200MB to…
Alun
  • 541
  • 6
  • 16
0
votes
1 answer

VisualVM OQL: find object that has (indirect) reachables/references to two object IDs?

My question is rather short and compact: If I find two objects with VisualVM, what kind of OQL query can I perform to find all objects that have (indirect) reachables or references to these two objects? Update for JB: After editing your code, I came…
Tom
  • 8,536
  • 31
  • 133
  • 232
0
votes
1 answer

VisualVM OQL filter not working as expected

I am wondering why the following OQL query is not simply returning the maximum amount of returns: filter(heap.objects(), function(it) { return true; }); In fact, I only get 1 random object returned. Does this make any sense? My heap has 31.000…
Tom
  • 8,536
  • 31
  • 133
  • 232