【问题标题】:elastic dump fail with java script out pf memory带有javascript的弹性转储文件内存不足
【发布时间】:2020-02-08 19:13:02
【问题描述】:

使用了这个命令

elasticdump --input=/opt/index_5.json --output=http://esserver:9200/index_5 --limit=5000 --transform="doc._source=Object.assign({},doc)"

导入数据时出现如下错误

==== JS 堆栈跟踪 ========================================= =

安全上下文:0x3b9faf49e6e9 1: stringSlice(aka stringSlice) [0x8c113e13429] [buffer.js:~589] [pc=0x3cfe067fcdcf](this=0x34873cd026f1 ,buf=0x15dd55450ef1 ,encoding=0x3b9faf4bdd31 ,start=0,end=8) 2:写 [0x2bf9d6645199] [/usr/lib/node_modules/elasticdump/node_modules/jsonparse/jsonparse.js:~127] [pc=0x3cfe06d95bbd](th...

致命错误:接近堆限制的无效标记压缩分配失败 - JavaScript 堆内存不足 1: 0x8fa0c0 节点::Abort() [节点] 2:0x8fa10c [节点] 中止

【问题讨论】:

    标签: elasticsearch elasticsearch-opendistro


    【解决方案1】:

    在我的情况下,降级到 elasticsearch 6.10 解决了类似的内存问题。见https://github.com/taskrabbit/elasticsearch-dump/issues/628

    【讨论】:

      猜你喜欢
      • 2015-04-04
      • 2014-08-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多