-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't access Profiler tab #621
Comments
How do you attach to the process?
Note that profiler tab is available only for local processes running under same user as VisualVM. |
I attach it through "Add JMX connection" (or if it appears directly for local processes, which not always work). Oh, I didn't know that Profiler only works for local processes... I just tried now again and the tab appeared for local process... It's strange that sometimes does, and sometimes does not. Is it impossible for remotely running processes? Not even with an agent installed or something? Thank you. |
If you need to use JMX, it means that this is not the local process running under same user as VisualVM. Local processes are automatically detected and displayed next to
Automatically detected processes should have profiler tab. If not, this is something, which should be investigated. Can you narrow down the case, where it does not appears?
Currently this is not supported by VisualVM - the usual workaround is to run VisualVM on remote machine and use |
I can't seem to calibrate the JVM. I'm using Amazon Corretto-17.0.13.11.1 (build 17.0.13+11-LTS) (Open JDK 17), we're on AWS. Is this an unsupported version or is there a workaround? |
Amazon Corretto should work fine. Please file separate issue and provide more info. |
Describe the bug
I'm running locally my java application with java 21, using these VM options:
I can attach the visualvm to the process, but there's no Profiler tab and the options in the menu related to the Profiler are disabled.
To Reproduce
It happens with any java application that I run, locally or remotely.
Somehow, I've seen it work recently once, but I cannot replicate it anymore, now it's always disabled...
Expected behavior
There should be a Profiler tab.
VisualVM log
Screenshots

Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: