Incorrect JVM Ram Size Information on the Instance

HarshitaC
Tera Contributor

I have recently increased JVM RAM Size for one of my mid server.
As there is only one mid installed on it, the host RAM size is 16GB, I have increased the JVM RAM size to 6GB, though we know default size for the JVM RAM is 1GB.

 

I have modified the configuration as per the service now instructions.

But still on the instance it shows 1GB.

I have also attached the logs for reference.

Have anyone experienced this.

I have also checked agent logs and wrapper logs and didnt find any error messages.

 

Set the MID Server JVM memory size

 

 

 

 

1 REPLY 1

pavani_paluri
Giga Guru

Hi @HarshitaC 

 

If you edited the config while the MID service was still running, it might not apply properly until a full restart.
You can verify the effective heap size via logs:
In agent.log or wrapper.log, look for a line like:
JVM: max memory = 6,442,450,944 (6144MB)
If it's still showing ~1024MB, your changes haven’t been applied. Now, fully stop and start the MID Server service. Check logs again after restart for actual max heap

 

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Pavani P