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.
High heap memory consumption during PDF generations with Itext5. - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • High heap memory consumption during PDF generations with Itext5.
KB1273281

High heap memory consumption during PDF generations with Itext5.


863 Views Last updated : Feb 16, 2025 public Copy Permalink
KB Summary by Now Assist

Description

Build information:
Builds that are known to be affected: Tokyo P2
Builds that are known NOT to be affected: San Diego P9



Issue Description:
After the upgrade from San Diego Patch 9 to Tokyo Patch 2, generating a large PDF report using the iText5 library causes high heap memory consumption.

Steps to Reproduce

After upgrading to Tokyo P2 from San Diego P9, when generating a large PDF using the iText5 library, long running API_INT semaphore transactions and high memory consumption can be observed.

Workaround

iText5 based APIs are deprecated from Sep 2022.We recommended and informed every consumer to switch to iText7 based APIs(https://docs.servicenow.com/bundle/utah-api-reference/page/app-store/dev_portal/API_reference/DocumentBoth/concept/DocumentBothAPI.html#DocumentBothAPI)

Please advise customer to use iText7. All our OOB code have already switched to iText7 which is the direction going forward.

Dev plans to fix the regression issue in PRB1564039. We will also backport to Tokyo Patch 8.

Customer can either switch to iText7 or wait for Tokyo Patch 8.


Related Problem: PRB1640075

Potentially Seen In

There is no data to report.

Fixed In

Tokyo Patch 8
Utah Patch 1
Vancouver

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.