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.
Memory leak in SoapProcessorThread while processing very large payload - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Memory leak in SoapProcessorThread while processing very large payload
KB0584192

Memory leak in SoapProcessorThread while processing very large payload


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

Description

There is an integration in which the SOAPProbe response is large (~12mb) and the SOAPProcessorThread associated with processing the payload is not releasing the memory related to the associated business rule. Memory is leaking at a rapid rate and is causing the instance to become slow and require a restart.

There is a scheduled job that daily sends a SOAPProbe message to the output ECC queue. The MID Server picks it up and makes the SOAP request to the 3rd party integration, which returns a 12mb payload (46k+ CI-like rows returned) to the ECC input queue. There are no errors associated with the SOAPProcessorThread, but the ECC queue record is never marked as "Processed" and does not release its memory.

Steps to Reproduce

  1. Create a business rule on the ecc_queue table that takes a lot of time to process.
  2. Send a SOAP request via MID server when the response payload is at least 10MB.
    Note SOAPProcessorThread taking memory.

Workaround

Do not create onBefore or onAfter business rules on the ecc_queue table. Use an asynchronous business rule instead.


Related Problem: PRB650037

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.