I use solr in my application, there is just hundreds of documents. the memory usage is about 80M, how to reduce it?
+3
A:
80M is not much, in fact it's pretty much the mininum, you won't go much lower than that.
Some factors that affect memory usage:
- Input document size
- Multi-threaded document updates
- Cache size
- Facet queries
- Sorting
References:
- http://wiki.apache.org/solr/SolrPerformanceFactors#Factors%5Faffecting%5Fmemory%5Fusage
- http://www.nabble.com/Debugging-Solr-memory-usage-heap-problems-td8832794.html
- http://osdir.com/ml/solr-user.lucene.apache.org/2009-02/msg00050.html
- http://mail-archives.apache.org/mod%5Fmbox/lucene-solr-user/200905.mbox/%[email protected]%3E
Mauricio Scheffer
2009-10-13 02:18:36