On Wed, Mar 16, 2011 at 12:56 PM, Asharudeen <asharud...@gmail.com> wrote: > Currently my index size is around 4GB. Normally in small instances total > available memory will be 1.6GB. In my setup, I allocated around 1GB as a > heap size for tomcat. Hence I believe, remaining 600 MB will be used for OS > cache.
Actually, even less. A JVM with a 1.6GB heap size will take up even more memory (since the heap size does not count stuff not on the heap, like the JVM code itself). This is definitely your problem. > I believe, I need to migrate my Solr instance from small instance to large. > So that some more memory will be allotted for OS cache. But initially I > suspect, since I call Solrj code from another instance, I need to increase > the memory in the instance from where I run the Solrj. But you said I need > to increase the memory in Solr instance only. Here, just I want to double > check this case only. sorry for that. SolrJ itself won't take up much memory. It depends on what else your client app is doing, but a small instance may be fine. -Yonik http://lucidimagination.com