schmika commented on issue #15068:
URL: https://github.com/apache/lucene/issues/15068#issuecomment-3655868198

   Hi,
   we are running Apache Solr 9.10.0 and Lucene 9.12.3 and also encountered 
problems due to large numbers of memory mapped segments. In our case, #15078 
did not help, because `MMapDirectory` seems to use its own default value of 
1024 for `sharedArenaMaxPermits`: 
https://github.com/apache/lucene/blob/f965e930673c1f5cb478dc6a8907f5fc4ef7b539/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java#L504-L505
   Explicitly setting 
`-Dorg.apache.lucene.store.MMapDirectory.sharedArenaMaxPermits=64` prevented 
the issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to