[ https://issues.apache.org/jira/browse/SOLR-6705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205315#comment-14205315 ]
Jan Høydahl commented on SOLR-6705: ----------------------------------- [~thelabdude], see also the patch @ SOLR-6693 where I added detection of Solr version and 32/64 bit as part of that issue. Could be used for further decision making. One approach I thought of is to split GC into three variables in {{solr.in.sh}}: {{GC_TUNE}}, {{GC_TUNE_JAVA7}} and {{GC_TUNE_JAVA8}}, and move version-specific options over to the respective vars. Just an idea. > SOLR Start script generates warnings on java 8 due ot experimental options > -------------------------------------------------------------------------- > > Key: SOLR-6705 > URL: https://issues.apache.org/jira/browse/SOLR-6705 > Project: Solr > Issue Type: Bug > Components: scripts and tools > Affects Versions: 4.10.2 > Environment: Mac Yosemite 10.10 > java -version > java version "1.8.0_25" > Java(TM) SE Runtime Environment (build 1.8.0_25-b17) > Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode) > Reporter: Carsten Grønbjerg Lützen > Assignee: Timothy Potter > Priority: Trivial > > When using the start script in bin: ./solr start in java 8... > {noformat} > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; > support was removed in 8.0 > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; > support was removed in 8.0 > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option > CMSTriggerPermRatio=80; support was removed in 8.0 > Java HotSpot(TM) 64-Bit Server VM warning: CMSFullGCsBeforeCompaction is > deprecated and will likely be removed in a future release. > {noformat} > ...we should reconsider having these options hardcoded into the start script > -- either auto-detect if/when they make sense, or remove them -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org