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.
Identifying abnormal JVM memory utilization - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Identifying abnormal JVM memory utilization
KB0517274

Identifying abnormal JVM memory utilization


14282 Views Last updated : Aug 24, 2022 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

  • Slow transaction response times.
  • Low or out of memory alerts appear.
  • Some Java applications use a lot of memory compared to native applications.
  • The program absorbs more and more system memory as it runs.
  • The instance is slow intermittently or sometimes unavailable.

Cause

  • An object leak or the heap is not big enough to store all of your data.
  • The Java heap parameters are not properly set to handle a given object usage pattern.
  • The application is not over-utilizing objects.
  • A native-memory leak or excessive native memory use will cause different problems depending on whether you exhaust the address space or run out of physical memory.
  • Doing lots of reflection can cause many access or classes and class loaders to be created. Holding references to the reflecting objects causes these classes to stay alive and continue occupying space.
  • Determining the cause is often a process of elimination, which starts by identifying and eliminating long-running user transactions, background jobs, or known memory leaks. 

 

Resolution

Numerous performance metrics for your instance are available and typically accessible from the homepage under ServiceNow Performance. Java Memory and Garbage Collection Floor are examples of two metrics available to you in the form of graphs. These metrics record memory usage, indicate when the instance is running out of memory, and log the efficiency and frequency of garbage collection.

The stats.do page also shows memory usage information for a single moment in time. This page can be viewed by appending stats.do to the instance URL, or by navigating to System Diagnostics > Stats in the navigation menu. Refreshing this page over a period of time reveals memory usage patterns. Memory usage numbers are listed under the Servlet Memory heading.

Memory usage is expected to fluctuate over time and can dip to low percentages for brief periods. This is normal as long as the available memory does not remain low for an extended period of time and the system is able to collect back up to a reasonable percentage. Regular peaks and valleys between 5% and 40% are typically acceptable. Anything lower than 5% can be problematic.

To verify memory usage in your instance:

  1. Log in to your ServiceNow instance.
  2. In the homepage banner, click the Home (Home) icon and select Service-now Performance.
  3. In the Performance Graph Set pane, review the memory graphs:
    Performance Graph Set displaying a normal, 1-day memory graph in which the memory use fluctuates frequently.
    Normal 1-day memory graph

    Note that memory use fluctuates frequently. This indicates that garbage collection is successfully reclaiming used memory.

    Performance Graph Set displaying a graph in which memory use steadily climbs and indicates a sign of memory issues.
    Signs of memory issues

    Note that memory use steadily climbs rather than rapidly fluctuating up and down.

If the issue continues to exist after following the steps in this article:

  • Clearly identify the issue or question.
  • Visit the ServiceNow product documentation.
  • Search in the ServiceNow Community.
  • Post a question on the ServiceNow Community forums. New users must create an account on the ServiceNow Community in order to post.
  • Open an incident via email or the online Technical Support system.
  • Contact the Technical Support team.

Related Links

For more related issues, review the following Knowledge Base article:

  • Troubleshooting slow performance

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.