How to control max RAM size of a Solr process?

mtakahashi-ivi mtakahashi at yourinventit.com
Wed Nov 25 04:35:28 EST 2015


>> Which is used for memory mapped file, I think. 
> No, that's wrong. Ignore it. 
That was correct. If I use solr.NRTCachingDirectoryFactory, FSDirectory
picks MMapDirectory, which uses mmap for 64bit JRE.
https://github.com/apache/lucene-solr/blob/b9a5b54b5d11d7ef2fb8289d3dec484be6bd74a0/lucene/core/src/java/org/apache/lucene/store/FSDirectory.java#L173

So off-heap memory is memory mapped file.



--
View this message in context: http://riak-users.197444.n3.nabble.com/How-to-control-max-RAM-size-of-a-Solr-process-tp4033727p4033737.html
Sent from the Riak Users mailing list archive at Nabble.com.




More information about the riak-users mailing list