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

Is it possible to check on which processor a thread is running in JAVA?

I'm using JAVA VisualVM to profiling my program and get the following results about threads execution: I'm not familiar with how JAVA processes multiple threads, and here are my problems: 1.Does the grean bar suggest that the thread was actually…
Li Danyuan
  • 121
  • 8
0
votes
1 answer

Java memory going up hence application behaving abnormally

My java memory is going up by 500 MB and making my application behave abnormally like having some UI glitches. Can anyone tell me how to analyze why the java memory is going up? I have already tried jvisualvm but there only java thread classes are…
Tech Geek
  • 437
  • 1
  • 4
  • 19
0
votes
1 answer

Java threads monitoring\profiling\measurement

I am familiar with http://download.oracle.com/javase/6/docs/api/java/lang/management/ThreadMXBean.html I would like to test\profile\measure how many CPU time did the thread get. I added the following to the my thread…
Syke
  • 11
0
votes
1 answer

Resilience4J threads stuck in Running state forever

I forked the spring-boot2-demo repo to this Did these changes : BackendBController.java @GetMapping("futureTimeout") public String futureTimeout(){ for(int i=0; i< 1000; i++){ executeAsyncWithFallback(this::timeout, this::fallback); …
Hexy
  • 828
  • 14
  • 24
0
votes
1 answer

Understand Heap-dump and Thread-dump for Large-scale application

I go through some tutorials of Java Profilers (JVisualVM, JProfiler, YourKit) on Youtube as well as Pluralsight. I got a little bit idea regarding how to check heap-dump and how to find the memory leak. But these all tutorials are elementary. My…
mehtas
  • 49
  • 1
  • 8
0
votes
1 answer

Java application monitoring over longer time periods?

Using tools like JConsole I can monitor a Java application real time. How can analyze the performance over a longer time period? Let's say over a day? Or week? Are there simple tools like jConsole I can use?
onknows
  • 6,151
  • 12
  • 65
  • 109
0
votes
1 answer

does "total time (CPU)" in Java VisualVM contain time which CPU spent executing other processes?

Does "total time (CPU)" column in CPU profiler tab of Java VisualVM contain time which CPU spent executing other processes? For instance, let's consider such situation: I run a program in which I have a method called myMethod() which does some…
0
votes
0 answers

How to monitoring thorntail resources by Java VisualVM

I want to monitor thorntail resources such as "how many thread are running at the moment". I add a user as ManagementRealm in management field of yml file. management: ManagementRealm: in-memory-authentication: users: …
0
votes
1 answer

Why does the "Total Time" column in visualvm differ from runtime duration?

I've been running the CPU Profiler in visualvm on my java process for 45 minutes, however the "Total Time" column shows only roughly 104,000ms elapsed (i.e. 104 seconds), and it grows but it grows slowly. This clearly doesn't map to real physical…
ABC
  • 693
  • 1
  • 10
  • 22
0
votes
0 answers

java.lang.NoClassDefFoundError after installing Visual GC inside Java VisualVM

Im using IntelliJ with Java 8 and scala plugin. My code was running fine just with some input I got GC error. So I wanted to use Java VisualVM with Visual GC error. After I installed the plugin I can't run my code due to Internal error:…
Anna
  • 1
  • 2
0
votes
2 answers

Why is dequeue() taking so much processor time?

Visual VM shows FifoMessageDispatchChannel.dequeue() taking a lot of time. The Tomcat process is using around 100% of a processor core.
brendan
  • 384
  • 3
  • 10
0
votes
1 answer

various issues when setting up visualvm remote JVM connection with jstatd

statd on remote machine may not be starting up correctly and visualvm user interface does not add connections. On the remote machine, I created a policy file for jstatd: grant codebase "file:/home/jonathan/jdk1.8.0_191/lib/tools.jar" { permission…
Jonathan T
  • 115
  • 7
0
votes
0 answers

Java heap space error when Heap hasn't expanded to max size

I'm currently having a problem with my Eclipse IDE dying when it receives too much console output. If I set "Run/Debug » Console » Console buffer size (characters)" too big, then I start getting "IOConsole Updater" errors citing "Java heap space" as…
Mark Booth
  • 7,605
  • 2
  • 68
  • 92
0
votes
0 answers

What name does VisualVM use for threads?

I have an application with a lot of threads. I'm trying to analyze a specific thread's call stack in VisualVM. I'm logging the thread name in my application like so: log.warn("Placard thread: [" + Thread.currentThread().getName() + "]"); But the…
Kramer
  • 927
  • 2
  • 13
  • 30
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