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 Kevin Laurie <su...@gmail.com> on 2015/02/23 17:21:33 UTC
syntax for increasing java memory
Hi Guys,
I am a newbie on Solr and I am just using it for dovecot sake.
Could you help advise the correct syntax to increase java heap size using
the -xmx option(or advise some easy-to-read literature for configuring) ?
Much appreciate if you could help. I just need this to sort out the problem
with my Dovecot FTS.
Thanks
Kevin
Re: syntax for increasing java memory
Posted by Kevin Laurie <su...@gmail.com>.
Hi Walter
Got it.
java -Xmx1024m -jar start.jar
Thanks
Kevin
On Tue, Feb 24, 2015 at 1:00 AM, Kevin Laurie <su...@gmail.com>
wrote:
> Hi Walter,
>
> I am running :-
> Oracle Corporation OpenJDK 64-Bit Server VM (1.7.0_65 24.65-b04)
>
> I tried running with this command:-
>
> java -jar start.jar -Xmx1024m
> WARNING: System properties and/or JVM args set. Consider using --dry-run
> or --exec
> 0 [main] INFO org.eclipse.jetty.server.Server ? jetty-8.1.10.v20130312
> 61 [main] INFO org.eclipse.jetty.deploy.providers.ScanningAppProvider
> ? Deployment monitor /opt/solr/contexts at interval 0
>
> Still getting 500m.
>
> Any advise? Will check java -X out.
>
>
> On Tue, Feb 24, 2015 at 12:49 AM, Walter Underwood <wu...@wunderwood.org>
> wrote:
>
>> That depends on the JVM you are using. For the Oracle JVMs, use this to
>> get a list of extended options:
>>
>> java -X
>>
>> wunder
>> Walter Underwood
>> wunder@wunderwood.org
>> http://observer.wunderwood.org/ (my blog)
>>
>>
>> On Feb 23, 2015, at 8:21 AM, Kevin Laurie <su...@gmail.com>
>> wrote:
>>
>> > Hi Guys,
>> > I am a newbie on Solr and I am just using it for dovecot sake.
>> > Could you help advise the correct syntax to increase java heap size
>> using
>> > the -xmx option(or advise some easy-to-read literature for
>> configuring) ?
>> > Much appreciate if you could help. I just need this to sort out the
>> problem
>> > with my Dovecot FTS.
>> > Thanks
>> > Kevin
>>
>>
>
Re: syntax for increasing java memory
Posted by Kevin Laurie <su...@gmail.com>.
Hi Walter,
I am running :-
Oracle Corporation OpenJDK 64-Bit Server VM (1.7.0_65 24.65-b04)
I tried running with this command:-
java -jar start.jar -Xmx1024m
WARNING: System properties and/or JVM args set. Consider using --dry-run
or --exec
0 [main] INFO org.eclipse.jetty.server.Server ? jetty-8.1.10.v20130312
61 [main] INFO org.eclipse.jetty.deploy.providers.ScanningAppProvider ?
Deployment monitor /opt/solr/contexts at interval 0
Still getting 500m.
Any advise? Will check java -X out.
On Tue, Feb 24, 2015 at 12:49 AM, Walter Underwood <wu...@wunderwood.org>
wrote:
> That depends on the JVM you are using. For the Oracle JVMs, use this to
> get a list of extended options:
>
> java -X
>
> wunder
> Walter Underwood
> wunder@wunderwood.org
> http://observer.wunderwood.org/ (my blog)
>
>
> On Feb 23, 2015, at 8:21 AM, Kevin Laurie <su...@gmail.com>
> wrote:
>
> > Hi Guys,
> > I am a newbie on Solr and I am just using it for dovecot sake.
> > Could you help advise the correct syntax to increase java heap size using
> > the -xmx option(or advise some easy-to-read literature for configuring)
> ?
> > Much appreciate if you could help. I just need this to sort out the
> problem
> > with my Dovecot FTS.
> > Thanks
> > Kevin
>
>
Re: syntax for increasing java memory
Posted by Walter Underwood <wu...@wunderwood.org>.
That depends on the JVM you are using. For the Oracle JVMs, use this to get a list of extended options:
java -X
wunder
Walter Underwood
wunder@wunderwood.org
http://observer.wunderwood.org/ (my blog)
On Feb 23, 2015, at 8:21 AM, Kevin Laurie <su...@gmail.com> wrote:
> Hi Guys,
> I am a newbie on Solr and I am just using it for dovecot sake.
> Could you help advise the correct syntax to increase java heap size using
> the -xmx option(or advise some easy-to-read literature for configuring) ?
> Much appreciate if you could help. I just need this to sort out the problem
> with my Dovecot FTS.
> Thanks
> Kevin