Re: RAM increase
Hi All, Thanks for your reply.I have a doubt whether to increase the ram or heap size to java or to tomcat where the solr is running Regards, satya
Re: RAM increase
When you start the Tomcat app, you tell it how much memory to allocate to the JVM. I don't remember where, probably in catalina.sh. On Fri, Oct 29, 2010 at 2:56 AM, satya swaroop satya.yada...@gmail.com wrote: Hi All, Thanks for your reply.I have a doubt whether to increase the ram or heap size to java or to tomcat where the solr is running Regards, satya -- Lance Norskog goks...@gmail.com
Re: RAM increase
Hello Lance, form the command line run: export JAVA_OPTS='-d64 -Xms128m -Xmx5g' eventually changing values of Xms and Xmx. Hope this helps. Tommaso 2010/10/29 Lance Norskog goks...@gmail.com When you start the Tomcat app, you tell it how much memory to allocate to the JVM. I don't remember where, probably in catalina.sh. On Fri, Oct 29, 2010 at 2:56 AM, satya swaroop satya.yada...@gmail.com wrote: Hi All, Thanks for your reply.I have a doubt whether to increase the ram or heap size to java or to tomcat where the solr is running Regards, satya -- Lance Norskog goks...@gmail.com
Re: RAM increase
On Thu, Oct 21, 2010 at 10:46 AM, satya swaroop satya.yada...@gmail.com wrote: Hi all, I increased my RAM size to 8GB and i want 4GB of it to be used for solr itself. can anyone tell me the way to allocate the RAM for the solr. [...] You will need to set up the allocation of RAM for Java, via the the -Xmx and -Xms variables. If you are using something like Tomcat, that would be done in the Tomcat configuration file. E.g., this option can be added inside /etc/init.d/tomcat6 on new Debian/Ubuntu systems. Regards, Gora
Re: RAM increase
You will also need to switch to a 64 bits JVM You might have to add the `-d64` flag as well as the `-Xms` and `-Xmx` - Original Message - From: Gora Mohanty g...@mimirtech.com To: solr-user@lucene.apache.org Sent: Thursday, October 21, 2010 2:34 AM Subject: Re: RAM increase On Thu, Oct 21, 2010 at 10:46 AM, satya swaroop satya.yada...@gmail.com wrote: Hi all, I increased my RAM size to 8GB and i want 4GB of it to be used for solr itself. can anyone tell me the way to allocate the RAM for the solr. [...] You will need to set up the allocation of RAM for Java, via the the -Xmx and -Xms variables. If you are using something like Tomcat, that would be done in the Tomcat configuration file. E.g., this option can be added inside /etc/init.d/tomcat6 on new Debian/Ubuntu systems. Regards, Gora
Re: RAM increase
Jean-Sebastien Vachon wrote: You will also need to switch to a 64 bits JVM You might have to add the `-d64` flag as well as the `-Xms` and `-Xmx` I've actually had no luck googling what's up with the -d64. Can you point me to any documentation on what effect it has, and on particular on what the boundary -Xmx size is that requires -d64? Jonathan
Re: RAM increase
Everything ovger ~3.7 3.7GB RAM (2^32, use your calculator) needs 64 bit addressing. Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mistakes, so you do not have to make them yourself. from 'http://blogs.techrepublic.com.com/security/?p=4501tag=nl.e036' EARTH has a Right To Life, otherwise we all die. --- On Thu, 10/21/10, Jonathan Rochkind rochk...@jhu.edu wrote: From: Jonathan Rochkind rochk...@jhu.edu Subject: Re: RAM increase To: solr-user@lucene.apache.org solr-user@lucene.apache.org Date: Thursday, October 21, 2010, 9:56 AM Jean-Sebastien Vachon wrote: You will also need to switch to a 64 bits JVM You might have to add the `-d64` flag as well as the `-Xms` and `-Xmx` I've actually had no luck googling what's up with the -d64. Can you point me to any documentation on what effect it has, and on particular on what the boundary -Xmx size is that requires -d64? Jonathan
RE: RAM increase
Memory limits info: http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_heap_32bit -d64 usage info: http://stackoverflow.com/questions/1443677/what-impact-if-any-does-the-d64-swtich-have-on-sun-jvm-resident-memory-usage Steve -Original Message- From: Dennis Gearon [mailto:gear...@sbcglobal.net] Sent: Thursday, October 21, 2010 1:08 PM To: solr-user@lucene.apache.org Subject: Re: RAM increase Everything ovger ~3.7 3.7GB RAM (2^32, use your calculator) needs 64 bit addressing. Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mistakes, so you do not have to make them yourself. from 'http://blogs.techrepublic.com.com/security/?p=4501tag=nl.e036' EARTH has a Right To Life, otherwise we all die. --- On Thu, 10/21/10, Jonathan Rochkind rochk...@jhu.edu wrote: From: Jonathan Rochkind rochk...@jhu.edu Subject: Re: RAM increase To: solr-user@lucene.apache.org solr-user@lucene.apache.org Date: Thursday, October 21, 2010, 9:56 AM Jean-Sebastien Vachon wrote: You will also need to switch to a 64 bits JVM You might have to add the `-d64` flag as well as the `-Xms` and `-Xmx` I've actually had no luck googling what's up with the -d64. Can you point me to any documentation on what effect it has, and on particular on what the boundary -Xmx size is that requires -d64? Jonathan
RAM increase
Hi all, I increased my RAM size to 8GB and i want 4GB of it to be used for solr itself. can anyone tell me the way to allocate the RAM for the solr. Regards, satya