博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
SolrCore Initialization Failures - Max direct memory is likely too low
阅读量:7218 次
发布时间:2019-06-29

本文共 977 字,大约阅读时间需要 3 分钟。

org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: The max direct memory is likely too low. Either increase it (by adding -XX:MaxDirectMemorySize=g -XX:+UseLargePages to your containers startup args) or disable direct allocation using solr.hdfs.blockcache.direct.memory.allocation=false in solrconfig.xml. If you are putting the block cache on the heap, your java heap size might not be large enough. Failed allocating ~134.217728 MB.

 

https://stackoverflow.com/questions/39588144/solrcore-initialization-failures-max-direct-memory-is-likely-too-low

 

SOLR is caching HDFS index files off JVM heap in direct memory. It is running out of memory while doing so. You can disable direct memory caching by setting solr.hdfs.blockcache.direct.memory.allocation=false

in solrconfig.xml. This will cause SOLR to cache HDFS index file portions in heap, so it is important you check what is the size of your JVM.

转载于:https://www.cnblogs.com/cxhfuujust/p/8405415.html

你可能感兴趣的文章
基于 Confluence 6 数据中心的 SAML 单点登录设置你的身份提供者
查看>>
mysql总结
查看>>
Navicat for MySQL版本更新至v11.2.12,修复多项问题|附下载
查看>>
整理 JAVA中的IO流 (字符流和字节流两个大类)
查看>>
uefi与win8 (根据网络资料整理)
查看>>
Eclipse优化
查看>>
Log4j tutorial with Tomcat examples
查看>>
Kong 网关
查看>>
三层结构视频中的DBHelper.cs
查看>>
[转载] 信息系统项目管理师视频教程——18 项目沟通管理
查看>>
在Windows下建立QT开发环境
查看>>
Jedis、JedisPool、ShardedJedis和ShardedJedisPool,java对redis的基本操作
查看>>
[转载] 致命伴侣
查看>>
HTML5 localStorage本地存储实际应用举例
查看>>
Scala访问修饰符
查看>>
实习感悟
查看>>
产品经理网站小结
查看>>
Bootstrap 附加导航插件
查看>>
如何设置启动SMTP、POP3以及IMAP4的SSL服务端口?
查看>>
自制函数strcpy
查看>>