JVM crashes on indexing documents


(arien) #1

Hi all;
I am trying to index some 100 documents consisting of all sort of
application extensions(ie. pdf,xls,doc,etc) using bulkrequestbuilder
but facing the problems of jvm crashes.Elastic search instance in
terminal gets killed itself before it gives following warning;

[2012-05-03 11:45:16,684][WARN ][monitor.jvm ]
[Onslaught] [gc][ParNew][541][17] duration [5.7s], collections [1]/
[13.1s], total [5.7s]/[6.6s], memory [116.6mb]->[95.8mb]/[1020.8mb]

Please help me in this and clarify what wrong i am doing.I am using
elasticsearch 0.19.3 and faced same problems in previous versions
also;
Thanks and regard;
arien


(David Pilato) #2

Did you try to give more memory to the jvm ?

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 3 mai 2012 à 08:39, arien ajaypadvi@gmail.com a écrit :

Hi all;
I am trying to index some 100 documents consisting of all sort of
application extensions(ie. pdf,xls,doc,etc) using bulkrequestbuilder
but facing the problems of jvm crashes.Elastic search instance in
terminal gets killed itself before it gives following warning;

[2012-05-03 11:45:16,684][WARN ][monitor.jvm ]
[Onslaught] [gc][ParNew][541][17] duration [5.7s], collections [1]/
[13.1s], total [5.7s]/[6.6s], memory [116.6mb]->[95.8mb]/[1020.8mb]

Please help me in this and clarify what wrong i am doing.I am using
elasticsearch 0.19.3 and faced same problems in previous versions
also;
Thanks and regard;
arien


(Andrej) #3

I am having problems with JVM crashes too (as pointed out in
https://groups.google.com/group/elasticsearch/browse_thread/thread/76ee17b528533126),
doing bulk insert in 0.19.3. But I never had this problems before.
Do you have an error log from your JVM? What java version are you
using?

On 3 Mai, 08:39, arien ajaypa...@gmail.com wrote:

Hi all;
I am trying to index some 100 documents consisting of all sort of
application extensions(ie. pdf,xls,doc,etc) using bulkrequestbuilder
but facing the problems of jvm crashes.Elastic search instance in
terminal gets killed itself before it gives following warning;

[2012-05-03 11:45:16,684][WARN ][monitor.jvm ]
[Onslaught] [gc][ParNew][541][17] duration [5.7s], collections [1]/
[13.1s], total [5.7s]/[6.6s], memory [116.6mb]->[95.8mb]/[1020.8mb]

Please help me in this and clarify what wrong i am doing.I am using
elasticsearch 0.19.3 and faced same problems in previous versions
also;
Thanks and regard;
arien


(Shay Banon) #4

You are probably running out of memory on the JVM, make sure to allocate
more memory, or reduce the bulk size.

On Thu, May 3, 2012 at 9:39 AM, arien ajaypadvi@gmail.com wrote:

Hi all;
I am trying to index some 100 documents consisting of all sort of
application extensions(ie. pdf,xls,doc,etc) using bulkrequestbuilder
but facing the problems of jvm crashes.Elastic search instance in
terminal gets killed itself before it gives following warning;

[2012-05-03 11:45:16,684][WARN ][monitor.jvm ]
[Onslaught] [gc][ParNew][541][17] duration [5.7s], collections [1]/
[13.1s], total [5.7s]/[6.6s], memory [116.6mb]->[95.8mb]/[1020.8mb]

Please help me in this and clarify what wrong i am doing.I am using
elasticsearch 0.19.3 and faced same problems in previous versions
also;
Thanks and regard;
arien


(system) #5