Re: Virtual Memory very high

2012-04-02 Thread Michael McCandless
Are you seeing a real problem here, besides just being alarmed by the big numbers from top? Consumption of virtual memory by itself is basically harmless, as long as you're not running up against any of the OS limits (and, you're running a 64 bit JVM). This is just "top" telling you that you've m

Re: Virtual Memory very high

2012-04-02 Thread Erick Erickson
Why do you care about virtual memory? It's after all, virtual. You can allocate as much as you want. For instance, MMapDirectory maps a load of virtual memory, but that has little relation to how much physical memory is being used. Consider looking at your app with something like jConsole and seei

Re: Virtual Memory very high

2012-04-02 Thread Suneel
Hello Everyone, On window server. I am facing same problem during indexing my memory consumption going very high based on above discussion i checked in my Solrconfig.xml file and found that "directoryFactory" not configured yet. if i configuring directoryfactory then its will help me reduce the c

Re: Virtual Memory very high

2011-12-13 Thread Yury Kats
On 12/13/2011 6:16 AM, Dmitry Kan wrote: > If you allow me to chime in, is there a way to check for which > DirectoryFactory is in use, if > ${solr.directoryFactory:solr.StandardDirectoryFactory} has been configured? I think you can get the currently used factory in a Luke response, if you hit yo

RE: Virtual Memory very high

2011-12-13 Thread Rohit
Thanks Yurykats. Regards, Rohit Mobile: +91-9901768202 About Me: http://about.me/rohitg -Original Message- From: Dmitry Kan [mailto:dmitry@gmail.com] Sent: 13 December 2011 11:17 To: solr-user@lucene.apache.org Subject: Re: Virtual Memory very high If you allow me to chime in, is

Re: Virtual Memory very high

2011-12-13 Thread Dmitry Kan
If you allow me to chime in, is there a way to check for which DirectoryFactory is in use, if ${solr.directoryFactory:solr.StandardDirectoryFactory} has been configured? Dmitry 2011/12/12 Yury Kats > On 12/11/2011 4:57 AM, Rohit wrote: > > What are the difference in the different DirectoryFacto

Re: Virtual Memory very high

2011-12-12 Thread Yury Kats
On 12/11/2011 4:57 AM, Rohit wrote: > What are the difference in the different DirectoryFactory? http://lucene.apache.org/java/3_3_0/api/core/org/apache/lucene/store/MMapDirectory.html http://lucene.apache.org/java/3_3_0/api/core/org/apache/lucene/store/NIOFSDirectory.html

RE: Virtual Memory very high

2011-12-11 Thread Rohit
What are the difference in the different DirectoryFactory? Regards, Rohit Mobile: +91-9901768202 About Me: http://about.me/rohitg -Original Message- From: Yury Kats [mailto:yuryk...@yahoo.com] Sent: 10 December 2011 12:11 To: solr-user@lucene.apache.org Subject: Re: Virtual Memory very

Re: Virtual Memory very high

2011-12-10 Thread Yury Kats
On 12/9/2011 11:54 PM, Rohit wrote: > Hi All, > > > > Don't know if this question is directly related to this forum, I am running > Solr in Tomcat on linux server. The moment I start tomcat the virtual memory > shown using TOP command goes to its max 31.1G and then remains there. > > > > Is