Skip to content

java.lang.OutOfMemoryError: Java heap space #35482

Closed
@koala775

Description

@koala775

Describe the feature:
When I use nested aggregation of dsl return large amount of data,then elasticsearch error: java.lang.OutOfMemoryError: Java heap space.

Elasticsearch version (bin/elasticsearch --version):
6.3.0

Plugins installed: []

JVM version (java -version):
jdk_1.8.152

OS version (uname -a if on a Unix-like system):
linux
Description of the problem including expected versus actual behavior:
1.Without any operating,why ramCurrent is full.
image
2.Then query dsl frequently,elasticsearch happened error :java.lang.OutOfMemoryError: Java heap space
3.ramCurrent include what?
4.aggregation used which ram,filedata cache or query cache or request cache?

Steps to reproduce:

Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.

1.query node state
2.query dsl frequently
3.elasticsearch error

Provide logs (if relevant):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions