[ 
https://issues.apache.org/jira/browse/SOLR-6705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198378#comment-14198378
 ] 

Shawn Heisey commented on SOLR-6705:
------------------------------------

Those messages are there because you're running Java 8.  The first three 
parameters mentioned don't do anything when running Java 8, the last one 
currently does change behavior, but won't in a future version.

These parameters DO have meaning to Java 7, which is a supported platform for 
the currently available Solr releases, and will continue to be supported by the 
5.0 release.  Increasing PermSize (the first two parameters mentioned) is a 
perfectly valid thing to do on Java 7.  The third and fourth messages refer to 
garbage collection tuning parameters that are supported by Java 7.  They were 
intentionally included to speed up garbage collection.

Although it might be possible to include changes that would get rid of these 
warnings on Java 8, it would make the start script significantly more 
complicated.  That complexity means bugs would be more likely to escape notice 
and affect users.  I would much rather see warnings than bugs.

I'll leave the issue open right now, in case a committer with more experience 
has a different take on your concern.


> SOLR Start script
> -----------------
>
>                 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
>            Priority: Trivial
>
> When using the start script in bin: ./solr start
> The following warnings occur from Java:
> 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.



--
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

Reply via email to