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

Uwe Schindler commented on SOLR-14335:
--------------------------------------

This library seems to do way to much, especially it tries to access JVM 
internals.

We should use the plain simple case to lock to the JVM memory, so I'd suggest 
to use simple JNA like Elasticsearch or [~hossman]'s agent tool. Please don't 
try to hook into JVM internals! That's likely to break.

In the future we can use Java 15+ Project Panama to do this, but not at that 
stage!

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