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 Matheo Software <in...@matheo-software.com> on 2020/11/18 15:24:10 UTC
Solr8.7 How to increase JVM-Memory ?
Hi All,
Since several years I work with a old version of Solr on Ubuntu, version
5.4.
Today I test the 8.7 version.
But Im not able to change the JVM-Memory like in my 5.4 version.
Many answers on the web tell to modify the solr.in.sh file but in my case I
have only /opt/solr/solr.in.sh.orig.
And if I change the SOLR_HEAP to a new value like 8g Dashboard shows
always 512MB.
I try also to change SOLR_JAVA_MEM without success.
Of course, I restart solr each time. (service solr restart). No error in
log. All work fine but no 8g of memory.
I also try to copie solr.in.sh.orig to solr.in.sh, the result is always the
same.
Could you help me ?
Cordialement, Best Regards
Bruno Mannina
<http://www.matheo-software.com> www.matheo-software.com
<http://www.patent-pulse.com> www.patent-pulse.com
Tél. +33 0 970 738 743
Mob. +33 0 634 421 817
<https://www.facebook.com/PatentPulse> facebook (1)
<https://twitter.com/matheosoftware> 1425551717
<https://www.linkedin.com/company/matheo-software> 1425551737
<https://www.youtube.com/user/MatheoSoftware> 1425551760
--
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
RE: Solr8.7 How to increase JVM-Memory ?
Posted by Bruno Mannina <bm...@free.fr>.
Yes ! It works !
I just set SOLR_HEAP="8g" and restart solr.
Thanks a lot !
-----Message d'origine-----
De : Jörn Franke [mailto:jornfranke@gmail.com]
Envoyé : mercredi 18 novembre 2020 18:50
À : solr-user@lucene.apache.org
Objet : Re: Solr8.7 How to increase JVM-Memory ?
I think it should be /etc/default/solr.in.sh And executable for the user executing Solr
> Am 18.11.2020 um 16:44 schrieb Bruno Mannina <bm...@free.fr>:
>
> Yes. It was executable.
>
> Must I to create solr.in.sh by copying from solr.in.sh.orig ? it's the right way ?
>
> -----Message d'origine-----
> De : Jörn Franke [mailto:jornfranke@gmail.com] Envoyé : mercredi 18
> novembre 2020 16:41 À : solr-user@lucene.apache.org Objet : Re:
> Solr8.7 How to increase JVM-Memory ?
>
> Did you make solr.in.sh executable ? Eg chmod a+x solr.in.sh ?
>
>> Am 18.11.2020 um 16:33 schrieb Matheo Software <in...@matheo-software.com>:
>>
>>
>> Hi All,
>>
>> Since several years I work with a old version of Solr on Ubuntu, version 5.4.
>> Today I test the 8.7 version.
>> But I’m not able to change the JVM-Memory like in my 5.4 version.
>>
>> Many answers on the web tell to modify the solr.in.sh file but in my case I have only /opt/solr/solr.in.sh.orig.
>> And if I change the SOLR_HEAP to a new value like “8g” Dashboard shows always 512MB.
>> I try also to change SOLR_JAVA_MEM without success.
>>
>> Of course, I restart solr each time. (service solr restart). No error in log. All work fine but no 8g of memory.
>>
>> I also try to copie solr.in.sh.orig to solr.in.sh, the result is always the same.
>>
>> Could you help me ?
>>
>> Cordialement, Best Regards
>> Bruno Mannina
>> www.matheo-software.com
>> www.patent-pulse.com
>> Tél. +33 0 970 738 743
>> Mob. +33 0 634 421 817
>>
>>
>>
>> Garanti sans virus. www.avast.com
>
>
> --
> L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
> https://www.avast.com/antivirus
>
--
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
Re: Solr8.7 How to increase JVM-Memory ?
Posted by Jörn Franke <jo...@gmail.com>.
I think it should be /etc/default/solr.in.sh
And executable for the user executing Solr
> Am 18.11.2020 um 16:44 schrieb Bruno Mannina <bm...@free.fr>:
>
> Yes. It was executable.
>
> Must I to create solr.in.sh by copying from solr.in.sh.orig ? it's the right way ?
>
> -----Message d'origine-----
> De : Jörn Franke [mailto:jornfranke@gmail.com]
> Envoyé : mercredi 18 novembre 2020 16:41
> À : solr-user@lucene.apache.org
> Objet : Re: Solr8.7 How to increase JVM-Memory ?
>
> Did you make solr.in.sh executable ? Eg chmod a+x solr.in.sh ?
>
>> Am 18.11.2020 um 16:33 schrieb Matheo Software <in...@matheo-software.com>:
>>
>>
>> Hi All,
>>
>> Since several years I work with a old version of Solr on Ubuntu, version 5.4.
>> Today I test the 8.7 version.
>> But I’m not able to change the JVM-Memory like in my 5.4 version.
>>
>> Many answers on the web tell to modify the solr.in.sh file but in my case I have only /opt/solr/solr.in.sh.orig.
>> And if I change the SOLR_HEAP to a new value like “8g” Dashboard shows always 512MB.
>> I try also to change SOLR_JAVA_MEM without success.
>>
>> Of course, I restart solr each time. (service solr restart). No error in log. All work fine but no 8g of memory.
>>
>> I also try to copie solr.in.sh.orig to solr.in.sh, the result is always the same.
>>
>> Could you help me ?
>>
>> Cordialement, Best Regards
>> Bruno Mannina
>> www.matheo-software.com
>> www.patent-pulse.com
>> Tél. +33 0 970 738 743
>> Mob. +33 0 634 421 817
>>
>>
>>
>> Garanti sans virus. www.avast.com
>
>
> --
> L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
> https://www.avast.com/antivirus
>
RE: Solr8.7 How to increase JVM-Memory ?
Posted by Bruno Mannina <bm...@free.fr>.
Yes. It was executable.
Must I to create solr.in.sh by copying from solr.in.sh.orig ? it's the right way ?
-----Message d'origine-----
De : Jörn Franke [mailto:jornfranke@gmail.com]
Envoyé : mercredi 18 novembre 2020 16:41
À : solr-user@lucene.apache.org
Objet : Re: Solr8.7 How to increase JVM-Memory ?
Did you make solr.in.sh executable ? Eg chmod a+x solr.in.sh ?
> Am 18.11.2020 um 16:33 schrieb Matheo Software <in...@matheo-software.com>:
>
>
> Hi All,
>
> Since several years I work with a old version of Solr on Ubuntu, version 5.4.
> Today I test the 8.7 version.
> But I’m not able to change the JVM-Memory like in my 5.4 version.
>
> Many answers on the web tell to modify the solr.in.sh file but in my case I have only /opt/solr/solr.in.sh.orig.
> And if I change the SOLR_HEAP to a new value like “8g” Dashboard shows always 512MB.
> I try also to change SOLR_JAVA_MEM without success.
>
> Of course, I restart solr each time. (service solr restart). No error in log. All work fine but no 8g of memory.
>
> I also try to copie solr.in.sh.orig to solr.in.sh, the result is always the same.
>
> Could you help me ?
>
> Cordialement, Best Regards
> Bruno Mannina
> www.matheo-software.com
> www.patent-pulse.com
> Tél. +33 0 970 738 743
> Mob. +33 0 634 421 817
>
>
>
> Garanti sans virus. www.avast.com
--
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
Re: Solr8.7 How to increase JVM-Memory ?
Posted by Jörn Franke <jo...@gmail.com>.
Did you make solr.in.sh executable ? Eg chmod a+x solr.in.sh ?
> Am 18.11.2020 um 16:33 schrieb Matheo Software <in...@matheo-software.com>:
>
>
> Hi All,
>
> Since several years I work with a old version of Solr on Ubuntu, version 5.4.
> Today I test the 8.7 version.
> But I’m not able to change the JVM-Memory like in my 5.4 version.
>
> Many answers on the web tell to modify the solr.in.sh file but in my case I have only /opt/solr/solr.in.sh.orig.
> And if I change the SOLR_HEAP to a new value like “8g” Dashboard shows always 512MB.
> I try also to change SOLR_JAVA_MEM without success.
>
> Of course, I restart solr each time. (service solr restart). No error in log. All work fine but no 8g of memory.
>
> I also try to copie solr.in.sh.orig to solr.in.sh, the result is always the same.
>
> Could you help me ?
>
> Cordialement, Best Regards
> Bruno Mannina
> www.matheo-software.com
> www.patent-pulse.com
> Tél. +33 0 970 738 743
> Mob. +33 0 634 421 817
>
>
>
> Garanti sans virus. www.avast.com