# # OPTIONAL: Maximum Java Heap Size (in MB) wrapper.java.maxmemory=2048 changes back to default whenever MIDServer restarts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2020 11:41 PM
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.
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2020 12:29 AM
HI,
I believe you did the upgrade of the instance?
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 01:15 AM
Instance was not upgraded since last october. We are on madrid from that time.