how to reduce solr memory usage?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-01 03:18:09

问题


I use solr in my application, there is just hundreds of documents. the memory usage is about 80M, how to reduce it?


回答1:


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_affecting_memory_usage
  • 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_mbox/lucene-solr-user/200905.mbox/%3C552701.4457.qm@web50308.mail.re2.yahoo.com%3E


来源:https://stackoverflow.com/questions/1546898/how-to-reduce-solr-memory-usage

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!