Heap Dump of java.lang.OutOfMemoryError: Java heap space


(Sambhav Sharma) #1

We are running 4 instances of elasticsearch, Our 4 node cluster is made of
4 m1.medium EC2 instances, which has 500GB added hard disk and 3.7G memory.
We have been getting java heap out of memory errors quite regularly, so
this time we decided to take the heap dump and analyze it. But,
unfortunately its tough for us to make anything out of it. So we are
seeking for some help, can anybody make a purposeful implementation of the
following heap dump.

We have hosted jhat at the following link:
http://54.254.21.189:7000/histo/

Additional Info:
We have some 15 open indexes, and 5 of them are big in size, of about 20GB,
rest are small, upto 1GB.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alexander Reelsen) #2

Hey,

can you reliably reproduce that exception? Is it possible that you are
facetting on an analyzed field (which means that all the terms of this
field is loaded into memory) or something like that? Maybe we can find out
the reason for this and see how to solve it.

Also, it might make sense to mention your elasticsearch and java versions.

--Alex

On Tue, Sep 17, 2013 at 4:37 PM, Sambhav Sharma
sambhav.sharma@minjar.comwrote:

We are running 4 instances of elasticsearch, Our 4 node cluster is made of
4 m1.medium EC2 instances, which has 500GB added hard disk and 3.7G memory.
We have been getting java heap out of memory errors quite regularly, so
this time we decided to take the heap dump and analyze it. But,
unfortunately its tough for us to make anything out of it. So we are
seeking for some help, can anybody make a purposeful implementation of the
following heap dump.

We have hosted jhat at the following link:
http://54.254.21.189:7000/histo/

Additional Info:
We have some 15 open indexes, and 5 of them are big in size, of about
20GB, rest are small, upto 1GB.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3