Hello,
-For a while i am tring to figure out why ram usage incease x2 than before
after commit one single document.

-Lucene Version 7.4.0
-Writer Directory FSDirectory
-Reader Directory MMapDirectory
-I create new IndexWriter instance per update, add, delete and  commit after
each operations. 
-After commit i create new searcher for real-time data. also close older
one. Closing old index decrease memory usage but not that much as app
started.

I know that i shouldn't  commit that often but i am tring to test how it
will react per each commit. Even commit per hour or day the memory ussage
will be double than last commit. 

- Also after batch og commits i cant commit even i cant search on that
index. Cos Memory ussage lock the app probably.
- When i start to Lucene service modifies are saved and memory usage seems
stabil like i want to. The main question is how can i decrease memry usage
without restart service or app.


I hope someone had same problem or can tell me how to handle this issue.




--
Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html

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

Reply via email to