Skip to main content
ExLibris

Knowledge Assistant

BETA
 
Back
DigiTool

 

Ex Libris Knowledge Center
  1. Search site
    Go back to previous article
    1. Sign in
      • Sign in
      • Forgot password
  1. Home
  2. DigiTool
  3. Knowledge Articles
  4. Increase JBOSS Memory Allocation in Digitool

Increase JBOSS Memory Allocation in Digitool

  1. Last updated
  2. Save as PDF
  3. Share
    1. Share
    2. Tweet
    3. Share
  1. Overview
  2. Pre-Checks
  3. To Allocate More Memory
  4. Verify the new configuration

Overview

Maintenance jobs may be hanging without finishing for no apparent reason. In the server.log you see errors like:

"OutOfMemoryError: GC overhead limit exceeded"

This means that JBOSS ran out of memory and the Java Garbage collector was unable to free working space from the memory heap.

More memory can be allocated to JBOSS to try to avoid this situation.

Pre-Checks

The JBOSS memory allocation is configured in this file:

To find out the current configuration enter the following command at the terminal as dtl user:

grep "jboss." $jdtlh/profile/global.properties

 

Example output:

jboss.minmemory=256m

jboss.maxmemory=1024m

The above example shows a minimum and maximum memory allocation.

 

You should determine how much RAM is present on the system, and make an incremental increase, dependent on how much memory is actually available on the server.

To Allocate More Memory

  1. Edit the two lines in the global.properties with the required memory allocation. In this example we will increase to 2GB:
    jboss.minmemory=2048m
    jboss.maxmemory=2048m
  2. Run set_globals.sh to activate the configuration:
    At the terminal enter alias j_bin to switch to the directory containing set_globals.sh (usually /exlibris/dtl/j3_1/digitool/home/system/bin)
    at the terminal enter ./set_globals.sh
  3. Restart JBOSS:

    To shut down:

    $jdtlh_bin/jboss_shutdown.sh

    To start up:

    $jdtlh_bin/jboss_startup.sh

     

Verify the new configuration

Once the above steps have been completed and JBOSS has been restarted enter the below command at the terminal:

ps -ef | grep java | grep --color Xmx

The Xmx figure is the maximum allocation, and Xms is the minimum allocation

 

View article in the Exlibris Knowledge Center
  1. Back to top
    • Inaccurate results in METS viewer search
    • Ingest Fails
  • Was this article helpful?

Recommended articles

  1. Article type
    How-To
    Content Type
    Knowledge Article
    Language
    English
    Product
    DigiTool
  2. Tags
    1. DigiTool
    2. heap space
    3. jboss
    4. memory
  1. © Copyright 2025 Ex Libris Knowledge Center
  2. Powered by CXone Expert ®
  • Term of Use
  • Privacy Policy
  • Contact Us
2025 Ex Libris. All rights reserved