Ran this command *ulimit -a *and found *open files (-n) 1024* size of Xmx = 2048MB Total Indexed data = 2.04GB I checked my solrconfig.xml but didn't find any value of *MMapDirectory. *I don't know the default size of MMapDirectory. How to increase the size of open files?
On Mon, Feb 2, 2015 at 2:10 PM, Toke Eskildsen <t...@statsbiblioteket.dk> wrote: > On Mon, 2015-02-02 at 09:11 +0100, Nitin Solanki wrote: > > I have been started *solr* for *long time approx 2 weeks* then I saw that > > Solr ate around *22 GB* from *28 GB RAM* of my *Server*. > > I am guessing your index is about 20GB? Solr's MMapDirectory allocates > virtual memory equal to the size of the index. If there is enough free > physical memory, that will be used as a cache. > > Sanity check: What is your Xmx? > > > The "No space left on device" error is probably because there is not > enough free file handles on your system. If it is a Linux box, try > running 'ulimit -a' and look for "open files". If that number is 1024 or > lower, you should increase it. > > > - Toke Eskildsen, State and University Library, Denmark > > >