oracle / oracle/visualvm

VisualVM hangs with 100% cpu usage

Open
#461 16 comments 7 reactions 1 assignee View on GitHub

@thurka is already working on this.

Since Nov 1, 2022.

bug
Dominant language
Java
Stars
3.3k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
If I leave VisualVM running for a couple of hours in the Monitor tab then eventually its window stops repainting properly. I see it using 100% cpu in spite of not being able to interact with it at all.

This issue could be related to https://github.com/oracle/visualvm/issues/101 though I suspect you have upgraded the Marlin rendering engine that ships with VisualVM at this point.

VisualVM log
Please attach VisualVM messages.log file to help diagnose your problem.

messages.log is available via Help | About | Logfile and
via VisualVM | About VisualVM | Logfile on macOS

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Microsoft Windows [Version 10.0.19044.2006]
  • JDK version: zulu8.64.0.19-ca-jdk8.0.345-win_x64
  • Version: 2.1.5

Additional context
messages.log
visualvm-stacktrace.txt

Looking at messages.log, I can see VisualVM is running out of memory but it's not clear to me why. I just opened it and attached it to monitor two JVMs. This typical usage should not cause this kind of crash.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.