You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by satya swaroop <sa...@gmail.com> on 2010/10/21 07:16:17 UTC
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
Re: RAM increase
Posted by Tommaso Teofili <to...@gmail.com>.
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 <go...@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 <sa...@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
> goksron@gmail.com
>
Re: RAM increase
Posted by Lance Norskog <go...@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 <sa...@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
goksron@gmail.com
Re: RAM increase
Posted by satya swaroop <sa...@gmail.com>.
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
Posted by Steven A Rowe <sa...@syr.edu>.
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:gearond@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=4501&tag=nl.e036'
>
> EARTH has a Right To Life,
> otherwise we all die.
>
>
> --- On Thu, 10/21/10, Jonathan Rochkind <ro...@jhu.edu> wrote:
>
> > From: Jonathan Rochkind <ro...@jhu.edu>
> > Subject: Re: RAM increase
> > To: "solr-user@lucene.apache.org" <so...@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
Posted by Dennis Gearon <ge...@sbcglobal.net>.
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=4501&tag=nl.e036'
EARTH has a Right To Life,
otherwise we all die.
--- On Thu, 10/21/10, Jonathan Rochkind <ro...@jhu.edu> wrote:
> From: Jonathan Rochkind <ro...@jhu.edu>
> Subject: Re: RAM increase
> To: "solr-user@lucene.apache.org" <so...@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
Posted by Jonathan Rochkind <ro...@jhu.edu>.
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
Posted by Jean-Sebastien Vachon <js...@videotron.ca>.
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" <go...@mimirtech.com>
To: <so...@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 <sa...@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
Posted by Gora Mohanty <go...@mimirtech.com>.
On Thu, Oct 21, 2010 at 10:46 AM, satya swaroop <sa...@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