java - Conflicting collector combinations using G1 & IntelliJ 2017.1 on OSX -
i'm trying configure garbage collection intellij community edition 2017.1. using following /users/jilles/library/preferences/ideaic2017.1/idea.vmoptions
# custom intellij idea vm options -xx:+useg1gc
it refuses start this. above file has 1 option should turn on g1. removed options until found 1 causing issues. after digging, managed @ least tell me why on command line (this stuff never ends in log):
~/library/preferences/ideaic2017.1 $ /applications/intellij\ idea\ ce.app/contents/macos/idea 2017-04-14 13:41:52.697 idea[54761:1579154] allvms required 1.8*,1.8+ 2017-04-14 13:41:52.701 idea[54761:1579163] fullfilename is: /applications/intellij idea ce.app/contents/bin/idea.vmoptions 2017-04-14 13:41:52.701 idea[54761:1579163] fullfilename exists: /applications/intellij idea ce.app/contents/bin/idea.vmoptions 2017-04-14 13:41:52.701 idea[54761:1579163] value of idea_vm_options (null) 2017-04-14 13:41:52.701 idea[54761:1579163] processing vmoptions file @ /users/jilles/library/preferences/ideaic2017.1/idea.vmoptions 2017-04-14 13:41:52.702 idea[54761:1579163] done conflicting collector combinations in option list; please refer release notes combinations allowed 2017-04-14 13:41:52.710 idea[54761:1579163] jni_createjavavm (/applications/intellij idea ce.app/contents/jdk) failed: 4294967295
the release notes seem consist of list of issues fixed, none of seem garbage collection.
is g1 garbage collector not supported in intellij? conflicting settings , configured or why not allowed? current, date, recommendations gc config intellij? i'm sorry ask since seems hotly debated topic in context of intellij pretty of stuff found related ancient versions of java + intellij. google seems happily suggest articles dating 2006 on this, less helpful.
/applications/intellij idea ce.app/contents/bin/idea.vmoptions
not configure garbage collection stuff , comes strangely low heap size defaults need level of tweaking:
-xms128m -xmx750m -xx:reservedcodecachesize=240m -xx:+usecompressedoops
i haven't tried yet, i'd suspect (as apparently do) conflicts gc configuration.
have tried turn other ones off cancel out other options have been added parent configuration, e.g. doing like:
-xx:-useparallelgc -xx:-useconcmarksweepgc -xx:+useg1gc
update:
- apparently answer similar question used same approach. see this answer intellij idea15 ce fails launch -xx:+useg1gc.
- see helpful page, lists solution (although without stating why, had not noticed '-' sign @ first): https://github.com/foxxmd/intellij-jvm-options-explained
Comments
Post a Comment