Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Setting the JVM memory in the wrapper-override.conf file causes the MID server to fail - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Setting the JVM memory in the wrapper-override.conf file causes the MID server to fail
KB0635200

Setting the JVM memory in the wrapper-override.conf file causes the MID server to fail


2706 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Setting the JVM memory in the wrapper-override.conf file causes the MID server to fail

Issue


Customer set the JVM memory in the wrapper-override.config file and after that the MID Server fails to start successfully with the following error in the wrapper log:

Could not reserve enough space for X KB object heap

Solution


This is usually caused by limitation of the memory address dictated by the platform the MID server is installed on and the MID server build itself. The maximum Java heap size is set to 1024 MB by default, if this setting is overridden and the MID Server architecture does not support the increased heap size, then the MID Server service does not start. Before increasing the heap size, make sure the server can accommodate this extra size:

  1. Check the server node's memory
  2. Check if the server is a 64-bit architecture
  3. Check if the Java JRE version installed in the \agent\jre\bin directory is 64-bit platform

    java -version

    java version "1.8.0_60"
    Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
    Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
  4.  Check if the MID Server package is 64-bit platform. This is verified in the agent log, you should see a line similar to the one below in the logs. Notice that in a 64-bit MID Server package, its name ends with x86-64.zip indicating this is a 64-bit version, in a 32-bit system this ends as x86-32.zip:
    StartupSequencer   Installed: [mid-core.jakarta-05-03-2017__patch1-hotfix2-07-19-2017_07-20-2017_0935.universal.universal.zip, mid-jre.jakarta-05-03-2017__patch1-hotfix2-07-19-2017_07-20-2017_0935.windows.x86-64.zip]

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.