# # OPTIONAL: Maximum Java Heap Size (in MB) wrapper.java.maxmemory=2048 changes back to default whenever MIDServer restarts.

bhanupratap2203
Kilo Expert

For network components discovery we need to increase the JVM from default 1024 to 2048 or 4096 MB in \agent\conf\wrapper-override.conf file . We change it and then save it. Restarts the mid server and then it shows the new JVM which we set (we are following the instructions as https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/product/mid-server/task/t_MIDSer...).

After few days the JVM size changes to default by its own.

 

What could be the reason of this? How can we prevent this modification by its own.

2 REPLIES 2

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

 

I believe you did the upgrade of the instance?

Thanks,
Ashutosh

Instance was not upgraded since last october. We are on madrid from that time.