Hi, There should be no spaces, try -Xms1g.
If you add the sapce, Java will likely fall back to defaults, which is a certain percentage of physical mem. See https://stackoverflow.com/questions/4667483/how-is-the-default-max-java-heap-size-determined You should follow our advice on memory tuning https://solr.apache.org/guide/solr/latest/deployment-guide/jvm-settings.html#choosing-memory-heap-settings Most likely 40g is too much, and you should set min and max to the same value. I'd try with -Xms8g -Xmx8g and tune from there. You should MINIMIZE the Java heap to gain best possible Linux-level caching. Jan > 8. mar. 2023 kl. 17:24 skrev HariBabu kuruva <hari2708.kur...@gmail.com>: > > Hi All, > > I have set the Heap memory as -Xms 1g -Xmx 40g in the Production > environment. > > But when i see the Heap memory in the Solr UI. I can see the Max Heap below. > > Max: 3.8Gb > Used: 2.2Gb > > Could you please help me understand, how is it showing the Max Heap as > 3.8Gb. I have 10 solr nodes, it shows different Heap memory for each node( > in the UI), though I have set it as -Xms 1g -Xmx 40g in all the 10 nodes. > > > -- > > Thanks and Regards, > Hari > Mobile:9790756568