Hello Stuart, Thank you for your answer. I tried to add :memoryuse=8192M:\ :datasize-max=infinity:\ :datasize-cur=8192M:\ :datasize=8192M:\ But none of these help Do you know which parameter suits to the memory problem ?
Le mardi 22 novembre 2022 à 09:39:40 UTC+1, Stuart Henderson <stu.li...@spacehopper.org> a écrit : On 2022-11-22, Mik J <mikyde...@yahoo.fr> wrote: > Hello, > Starting opensearch fails if memory is 4G or more.My VM has 12Gb memory > # sysctl -a... > hw.physmem=17161977856hw.usermem=17161961472 > > # vmstat > procs memory page disks traps cpu > r s avm fre flt re pi po fr sr sd0 cd0 int sys cs us sy id > 1 49 31M 14347M 6076 0 0 0 0 0 64 0 48 1738 1364 16 5 80 > > I also added in /etc/login.confopensearch:\ > :openfiles=65536:\ > :tc=daemon: > > /etc/opensearch/jvm.options...-Xms3g > -Xmx3g > Works > /etc/opensearch/jvm.options...-Xms4g > -Xmx4g > Works > Does anyone understand why I can get up to 4gb ? You probably need to raise datasize limits in /etc/login.conf.d/opensearch too, otherwise it uses the default from /etc/login.conf. -- Please keep replies on the mailing list.