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

Jan Høydahl commented on SOLR-14335:
------------------------------------

Updated PR. 
Should now work on Windows too.
Moved start.jar into server/lib/ to make sure that is the only entry point we 
support
Added JNA lib and added code for mlock from Cassandra
Enable with env.var `SOLR_MEMORY_LOCK=true` - possible to set in solr.in.sh

Some issues with locking on macOS. Have not tested on Linux yet, but it should 
work?
More feedback welcome

> Lock Solr's memory to prevent swapping
> --------------------------------------
>
>                 Key: SOLR-14335
>                 URL: https://issues.apache.org/jira/browse/SOLR-14335
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Jan Høydahl
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Followup from SOLR-10306. While sometimes you are able to disable or reduce 
> swap on the host, other times that is not so easy. Having a native option to 
> lock Solr's memory would be beneficial.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to