Does anyone here have any experience with setting up VisualVM? All the docs and the interface look like they were intended for Linux hackies, which I are not. When I run VDM, it and its debugger process only show up as pids, and much of the profiling functionality is disabled. It suggests attaching to the process, but I'm out of my depth with that.
Reid
Setting up VisualVM
-
- Posts: 640
- Joined: Mon Nov 15, 2021 9:23 pm
Setting up VisualVM
Cyberwerks Heavy Industries -- viewforum.php?f=76
Re: Setting up VisualVM
There's no magic to it really. You just start VisualVM and then you run your VMD project with external profiler support. A new "Local Application" will pop up in VisualVM that you can then inspect/profile.
VMD: VisualVM:
if you want to profile your cpu usage for example you need to invoke the cpu profiler and add the classes to monitor or the whole package like so:
VMD: VisualVM:
if you want to profile your cpu usage for example you need to invoke the cpu profiler and add the classes to monitor or the whole package like so:
-
- Posts: 640
- Joined: Mon Nov 15, 2021 9:23 pm
Re: Setting up VisualVM
Thanks, Chris. I wasn't using the Run with External Profiler option. Somehow I'd remembered it as something that was set in VMD preferences. My doh!
Reid
Reid
Cyberwerks Heavy Industries -- viewforum.php?f=76