在 Mapping 里面,将 dynamic 参数设置成 strict 可以拒绝索引包含未知字段的文档。 此条 Tips 由 medcl 贡献。

logstash:java.lang.OutOfMemoryError: Java heap space

Logstash | 作者 Thoremp | 发布于2018年07月18日 | 阅读数:5453

java.lang.OutOfMemoryError: Java heap space
Dumping heap to java_pid6088.hprof ...
Heap dump file created [3042496542 bytes in 811.275 secs]
Exception in thread "Ruby-0-Thread-4: :1" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Ruby-0-Thread-8: :1" java.lang.OutOfMemoryError: Java heap space
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Ruby-0-Thread-8: :1"

Exception in thread "defaultEventExecutorGroup-7-2" java.lang.OutOfMemoryError: Java heap space
Exception in thread "defaultEventExecutorGroup-7-4" java.lang.OutOfMemoryError: Java heap space
Exception in thread "nioEventLoopGroup-6-1" java.lang.OutOfMemoryError: Java heap space
Exception in thread "defaultEventExecutorGroup-7-1" java.lang.OutOfMemoryError: Java heap space
已邀请:

aslan1011 - 运维

赞同来自:

增加堆内存

要回复问题请先登录注册