Re: _version_ taking too much memory

2020-11-18 Thread sanjay dutt
Thank you so much Shalin. Yes that would reduce the memory requirement at run time.But my next question, Is the "firstSearcher" doing this I mean due to which it tries to find the "Max value of version" and for that it it has to do the un-inversion.  Thanks and Regards,Sanjay Dutt On

Re: _version_ taking too much memory

2020-11-17 Thread Shalin Shekhar Mangar
You should change the _version_ field to be of type docValues and re-index data. This way you don't have to pay the memory cost of un-inversion. On Wed, Nov 18, 2020 at 9:51 AM sanjay dutt wrote: > Solr Collection setup > Shards :- 2Replication :- 4Documents :- 569 Million (I know it's too >

_version_ taking too much memory

2020-11-17 Thread sanjay dutt
Solr Collection setup Shards :- 2Replication :- 4Documents :- 569 Million (I know it's too much)Heap Space :- 12GB So basically, above collection is having OutOfMemory issues. And upon inspection, I got to know that  org.apache.lucene.uninverting.FieldCacheImpl$LongsFromArray for field