-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Automatically start profiling right away #10
Comments
True, but I do not think VisualVM supports it. |
I experienced similar issues with using the plugin. My use case: profile a JUnit test case execution from IDEA 13.
|
Can you screenshot such settings? |
Please see attach. My wish is to start VVM with some "preset". On Wed, Jan 15, 2014 at 12:45 PM, Vojtěch Krása notifications@git.luolix.topwrote:
|
Seriously, VisualVM does not support anything but opening the tab. Anything more would require to write a VisualVM plugin which could be called directly from IntelliJ. But in case of profiling from the very beginning of the application, I doubt it is possible at all. Anyway, sleep() is fine, System.in.read(); is better. |
OK, now I kind of see the issue. The solution may look like: plugin (1) starts VisualVM and waits on plugin (2) for message . I agree, all this mess just to avoid System.in.read() is not worth it. Could you tell if plugin (2) would be able to kick CPU profiling? That |
I doubt it, but it would be better to ask on VisualVM mailing list. |
@krasa Why the options are grey?I have restarted IDEA and config the path. |
Maybe for the same reason as Coverage... dunno. |
Is intellij 2017 not supported with visual vm plugin? |
Why do you even write into this issue? #14 |
Problem #14 is a gradle problem... Mine is maven build tool.... |
well, let's create another issue then. |
I believe this is solved by using the Startup Profiler plugin: https://visualvm.github.io/startupprofiler.html I got it to work |
+1 - I'm running IntelliJ 2018.2 and the option to run with VisualVM greyed out for a gradle/grails project. |
It would be great if I could just set "Profile CPU" or "Profile RAM" before I launch the application / tests. Currently I have to do this manually and I always miss the first few seconds of execution.
The text was updated successfully, but these errors were encountered: