Hi, I have 12GB Ram, also I tried 10GB heap space. but With higher Heap space the error is coming fast.
On Tuesday, February 24, 2015 at 2:17:55 PM UTC+6, Mark Walkom wrote: > > How much RAM and heap have you assigned things? > > On 24 February 2015 at 15:14, Shohedul Hasan <[email protected] > <javascript:>> wrote: > >> 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_ff8081814bb4af0e014bb4af0ea400 >> 00_f1090e77-5f1e-444a-bfde-fb9ee4eb4c38] >> org.elasticsearch.index.engine.IndexFailedEngineException: >> [message_owned_v1][1] Index failed for [message# >> 029f49b7deac406088b81ddeb6a4c0df_ff8081814bb4af0e014bb4af0ea400 >> 00_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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/618d69ef-57c5-4541-b02d-d79d9d002d45%40googlegroups.com >> >> <https://groups.google.com/d/msgid/elasticsearch/618d69ef-57c5-4541-b02d-d79d9d002d45%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/b4fddb51-6260-444b-9a98-077093848723%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
