Yes. And, you have 4 gb with only 5000 documents. That means that one document have many many many fields or values.
Asking for facets on such huge fields requires lot of memory.
David.
De : elasticsearch@googlegroups.com [mailto:elasticsearch@googlegroups.com] De la part de Rafal Kuc
Envoyé : dimanche 29 juillet 2012 20:24
À : elasticsearch@googlegroups.com
Objet : Re: JVm goes out of memory when I am using facets
Hello!
Try increasing you maximum heap size. Elasticsearch throws OOM because it doesn't have enough memory to calculate facets.
--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ http://sematext.com/ :: Solr - Lucene - Nutch - Elasticsearch
I have an index of size 4 gb with 5000 documents and 0 replica .My min heap size is 256m and max heap size of 1g reserved for ES. I want to calculate term facet for all the terms in the docs .Is there any way to do it without going out of memory .
On Sun, Jul 29, 2012 at 3:12 PM, David Pilato < mailto:david@pilato.fr david@pilato.fr> wrote:
Yes. It could happen.
Do you need a more precise answer?
Please provide more details about your settings (memory you give to the Jvm), number of docs, number of different terms for the field you want to facet.
David ![]()
Twitter : @dadoonet / @elasticsearchfr
Le 29 juil. 2012 à 11:11, jajoria abhishek < mailto:jajoria.abhishek@gmail.com jajoria.abhishek@gmail.com> a écrit :
I am using ES version 0.19.7 . It was running fine but now jvm goes out of memory when I use facets.