We are running a 5-node ElasticSearch 0.16.2 cluster, avg. size 20kb /
document. However, I get an OutOfMemoryException on trying to insert
1million JSONS with the following mapping.
Do you get the OOM right when you start to index, or after a time? Is there a chance that you can provide a link for me to download the heap dump generated?
On Tuesday, July 5, 2011 at 7:12 AM, Anurag wrote:
We are running a 5-node Elasticsearch 0.16.2 cluster, avg. size 20kb /
document. However, I get an OutOfMemoryException on trying to insert
1million JSONS with the following mapping.
Shay,
I don't get the error when starting the index, it happens after
inserting about 100k jsons.
Here's the dump:
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "HashSessionScavenger-0"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "New I/O client worker #1-4"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "elasticsearch[Madame
MacEvil]transport_client_worker-pool-13-thread-8"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "elasticsearch[Madame
MacEvil]discovery#multicast#received-pool-16-thread-1"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "elasticsearch[Madame
MacEvil]transport_client_worker-pool-13-thread-2"
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Do you get the OOM right when you start to index, or after a time? Is there
a chance that you can provide a link for me to download the heap dump
generated?
On Tuesday, July 5, 2011 at 7:12 AM, Anurag wrote:
We are running a 5-node Elasticsearch 0.16.2 cluster, avg. size 20kb /
document. However, I get an OutOfMemoryException on trying to insert
1million JSONS with the following mapping.
Thats the exceptions, not the heap dump... . How are you running the indexing? Is it against an embedded instance? Do you have enough memory? Are you using bulk indexing, if so, whats your bulk size?
On Tuesday, July 5, 2011 at 8:00 PM, Anurag wrote:
Shay,
I don't get the error when starting the index, it happens after
inserting about 100k jsons.
Here's the dump:
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "HashSessionScavenger-0"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "New I/O client worker #1-4"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "elasticsearch[Madame
MacEvil]transport_client_worker-pool-13-thread-8"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "elasticsearch[Madame
MacEvil]discovery#multicast#received-pool-16-thread-1"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "elasticsearch[Madame
MacEvil]transport_client_worker-pool-13-thread-2"
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Do you get the OOM right when you start to index, or after a time? Is there
a chance that you can provide a link for me to download the heap dump
generated?
On Tuesday, July 5, 2011 at 7:12 AM, Anurag wrote:
We are running a 5-node Elasticsearch 0.16.2 cluster, avg. size 20kb /
document. However, I get an OutOfMemoryException on trying to insert
1million JSONS with the following mapping.
Will try to get u the heap dump by tomorrow
Indexing is against an embedded instance, xms as 2g and Xmx as 8g. Using bulk indexing with 100 jsons, each approximately 20kb in size.
Thats the exceptions, not the heap dump... . How are you running the indexing? Is it against an embedded instance? Do you have enough memory? Are you using bulk indexing, if so, whats your bulk size?
On Tuesday, July 5, 2011 at 8:00 PM, Anurag wrote:
Shay,
I don't get the error when starting the index, it happens after
inserting about 100k jsons.
Here's the dump:
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "HashSessionScavenger-0"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "New I/O client worker #1-4"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "elasticsearch[Madame
MacEvil]transport_client_worker-pool-13-thread-8"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "elasticsearch[Madame
MacEvil]discovery#multicast#received-pool-16-thread-1"
java.lang.OutOfMemoryError: Java heap space
Exception in thread "elasticsearch[Madame
MacEvil]transport_client_worker-pool-13-thread-2"
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Do you get the OOM right when you start to index, or after a time? Is there
a chance that you can provide a link for me to download the heap dump
generated?
On Tuesday, July 5, 2011 at 7:12 AM, Anurag wrote:
We are running a 5-node Elasticsearch 0.16.2 cluster, avg. size 20kb /
document. However, I get an OutOfMemoryException on trying to insert
1million JSONS with the following mapping.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.