java.lang.OutOfMemoryError: Java heap space

Hello everyone I've got this error.
java.lang.OutOfMemoryError: Java heap space
When I run my pipeline.
I set jvm option the below. But still getting this jvm error.
-Xms8M
-Xmx8M
How can i solve ? Can someone explain ? Thanks for answering

What version are you on? What is the full error? What is your OS? What is your config?

It looks like you're setting your heap size to 8 megabytes, which Elasticsearch can't possibly run with. Is that just a typo? Here is some documentation about setting the heap size: https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#heap-size-settings

2 Likes

Yes I ve miss typed that. But I have changed it to 8g and also try 10g but still have same issue.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.