Hi, i am new to elasticsearch. I have tried to store mails in 
Elasticsearch. but for some mail which are big i am getting error, and my 
code is crashing. I am getting the following error:

[message_owned_v1][1] Index failed for 
[message#029f49b7deac406088b81ddeb6a4c0df_ff8081814bb4af0e014bb4af0ea40000_f1090e77-5f1e-444a-bfde-fb9ee4eb4c38]
org.elasticsearch.index.engine.IndexFailedEngineException: 
[message_owned_v1][1] Index failed for 
[message#029f49b7deac406088b81ddeb6a4c0df_ff8081814bb4af0e014bb4af0ea40000_f1090e77-5f1e-444a-bfde-fb9ee4eb4c38]
at 
org.elasticsearch.index.engine.internal.InternalEngine.index(InternalEngine.java:499)
 
~[elasticsearch-1.3.2.jar:na]
at 
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:409)
 
~[elasticsearch-1.3.2.jar:na]
at 
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:195)
 
~[elasticsearch-1.3.2.jar:na]
at 
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:522)
 
~[elasticsearch-1.3.2.jar:na]
at 
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:421)
 
~[elasticsearch-1.3.2.jar:na]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[na:1.8.0_31]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[na:1.8.0_31]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_31]
Caused by: java.lang.OutOfMemoryError: Java heap space

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/618d69ef-57c5-4541-b02d-d79d9d002d45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to