如何减少Solr的内存使用量? [英] how to reduce solr memory usage?

查看:377
本文介绍了如何减少Solr的内存使用量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在应用程序中使用solr,只有几百个文档. 内存使用量约为80M,如何减少呢?

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

推荐答案

80M并不多,实际上这只是最小值,您不会比这低得多.

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:

  • 输入文档大小
  • 多线程文档更新
  • 缓存大小
  • Facet查询
  • 排序

参考文献:

  • 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

这篇关于如何减少Solr的内存使用量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆