You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Sheng <sh...@gmail.com> on 2016/12/27 17:05:43 UTC
oom on FastTaxonomyFacetsCounts
This is probably not the fault of Lucene, as oom happened on the loc :
values = new int[taxoReader.getSize()];
So taxoReader.getSize() probably is too big. My question is is there a more
memory friendly way (also without significant performance penality) to get
FacetResult for a particular dimension from the facets cache to replace the
call to FastTaxonomyCounts.getTopChildren(...)? Otherwise I have to
increase the available heap memory to the process, which I'd consider as
last resort.
Thanks,