Actually the reason I did not use the solr script was that I didn't really
get how to make a window service out of it from nssm.exe. I tried doing a
.bat that called solr with start -p 8983 but seems it just loops my command
rather then run it.

Thanks for the help / Karl

On 11 March 2015 at 23:08, Erick Erickson <erickerick...@gmail.com> wrote:

> Well, the new way will be the only way eventually, so either you learn
> the old way then switch or learn it now ;)...
>
> But if you insist you could start with a heap size of 4G like this:
>
> java -Xmx4G -Xms4G -jar start.jar
>
> Best,
> Erick
>
>
> On Wed, Mar 11, 2015 at 1:09 PM, Karl Kildén <karl.kil...@gmail.com>
> wrote:
> > Thanks!
> >
> > I am using the old way and I see no reason to switch really?
> >
> > cheers
> >
> > On 11 March 2015 at 20:18, Shawn Heisey <apa...@elyograg.org> wrote:
> >
> >> On 3/11/2015 12:25 PM, Karl Kildén wrote:
> >> > I am a solr beginner. Anyone knows how solr 5.0 determines the max
> heap
> >> > size? I can't find it anywhere.
> >> >
> >> > Also, where whould you activate jmx? Would like to be able to use
> >> visualvm
> >> > in the future I imagine.
> >> >
> >> > I have a custom nssm thing going that installs it as a window service
> >> that
> >> > simply calls java -jar start.jar
> >>
> >> The default heap size is 512m.  This is hardcoded in the bin/solr
> >> script.  You can override that with the -m parameter.
> >>
> >> If you are not using the bin/solr script and are instead doing the old
> >> "java -jar start.jar" startup, the default heap size is determined by
> >> the version of Java you are running.
> >>
> >> Thanks,
> >> Shawn
> >>
> >>
>

Reply via email to