lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Chandwani <>
Subject Default LRUQueryCache causing OOO exception
Date Wed, 12 Oct 2016 05:58:13 GMT

We are using lucene 5.5.2 for search .

We are getting out of memory exception as default LRUQueryCache is occupying more much more
than default 32 MB memory.

Searcher Manager is used here to get an instance of index searcher to perform search. Default
lru query cache and default query cache policy (UsageTrackingQueryCachingPolicy) is used.

Maximum memory usage/size is 3 GB for our application.

Observation from heap dump:

1. Lucene Codecs CompressingStoredFieldReader objects has consumed ~ 727 MB of heap

2. Lucene LRUQueryCache objects has consumed ~ 380 MB of heap. Cache instance is holding up
large number of SegmentCoreReaders instances in Map.

Request you to please guide us.



___ Watch an eGain Customer Service Transformation<>
Success Story

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message