Hello,
I'm using YourKit profiler which is bundled with Intelliji IDEA.
However, I cannot disable dumping heap on OutOfMemory errors.
Could you please help?
http://youtrack.jetbrains.com/issue/IDEA-124089 - link to corresponding IDEA bug.
The following vm options are used to run IDEA
-Xms128m
-Xmx2548m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=96m
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+UseCodeCacheFlushing
-XX:+UseConcMarkSweepGC
-XX:+UseCompressedOops
-XX:SoftRefLRUPolicyMSPerMB=50
-agentlib:yjpagent64=disablej2ee,disablealloc,disabletracing,onlylocal,builtinprobes=none,disableoomedumper,disableexceptiontelemetry,sessionname=IntelliJIdea13
disableoomedumper option doesn't work
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: disableoomedumper option doesn't work
Hello,
The "disableoomedumper" option is to disable on-out-of-memory dumps created by JVM, which are in HPROF format:
http://www.yourkit.com/docs/java/help/out_of_memory.jsp
As you wrote,
We're downloading your snapshot now. We'll try to see what was the reason of the capture.
Best regards,
Anton
The "disableoomedumper" option is to disable on-out-of-memory dumps created by JVM, which are in HPROF format:
http://www.yourkit.com/docs/java/help/out_of_memory.jsp
As you wrote,
Yes, this means the file is in the profiler's format, and was NOT captured by the JVM's dumper. Furthermore, it has .snapshot extension, while the JVM's dumper creates .HPROF files.I've removed this option, but it didn't help. -XX:+HeapDumpOnOutOfMemoryError is a JDK option, but files are created by YourKit profile, as it can be seen in header or the dump file:
YourKit Java Profiler snapshot, http://www.yourkit.com
Created by YourKit Java Profiler 12.0.
We're downloading your snapshot now. We'll try to see what was the reason of the capture.
Best regards,
Anton
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: disableoomedumper option doesn't work
P.S.
Also, JetBrains bundle an old, unsupported agent version. They should use the current release v2013 instead.
Also, JetBrains bundle an old, unsupported agent version. They should use the current release v2013 instead.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: disableoomedumper option doesn't work
We've found the following class among loaded:
edu.umd.cs.findbugs.log.YourKitController
We are not familiar with it, it seems a 3rd party tool to automate profiling with YourKit. Looks like a wrapper for the profiler API.
Google gives this link:
http://findbugs.sourceforge.net/api/ind ... oller.html
..showing that the class has method captureMemorySnapshot() which you should blame.
We don't know who uses that class, JetBrains or one of your plugins.
I hope this hint is enough to let you and/or JetBrains locate the problem.
edu.umd.cs.findbugs.log.YourKitController
We are not familiar with it, it seems a 3rd party tool to automate profiling with YourKit. Looks like a wrapper for the profiler API.
Google gives this link:
http://findbugs.sourceforge.net/api/ind ... oller.html
..showing that the class has method captureMemorySnapshot() which you should blame.
We don't know who uses that class, JetBrains or one of your plugins.
I hope this hint is enough to let you and/or JetBrains locate the problem.
-
- Posts: 3
- Joined: Fri Apr 18, 2014 3:10 pm
Re: disableoomedumper option doesn't work
Thank you,
I'll try to contact FindBugs plugin and check if they have an option to disable memory dumps...
I'll try to contact FindBugs plugin and check if they have an option to disable memory dumps...
-
- Posts: 3
- Joined: Fri Apr 18, 2014 3:10 pm
Re: disableoomedumper option doesn't work
Created defect in FindBug tracker https://sourceforge.net/p/findbugs/bugs/1268/
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am