Open pcoleman opened 13 years ago
This happens when you don't do any writes the caches will keep getting larger to accommodate more terms. The workaround is to send some writes or updates to the index. This will flush the caches. In the meantime, the caches should be changed to use an LRU
When handling a large number of solr queries, we noticed there was a memory leak. Each query seems to add to the memory used, and eventually it forces solr to try to free up memory which fails and gets stuck in an infinite loop.
I did some profiling on Solandra and it looks like that most of the memory is dedicated to document fields and the actual field objects (in our case strings). From that it looks like a run away cache, but like the default settings I have all the caches disabled.
I'm including the solr and and solandra settings below:
Solandra:
Solr: