IBM Support

How to increase the Java heap size for the IBM Security SOAR "resutil" command

How To


Summary

This article describes how to increase the Java heap size for the "resutil" command.

Objective

Occasionally, when deleting a custom threat service by using sudo resutil threatservicedel -name XXXX an OutOfMemory exception maybe thrown.
This article describes how to increase the Java heap size for the resutil command, increasing it from 512MB, which is the default value, to 1024MB.

Steps

To increase the heap size, modify the /bin/resutil file.
Add "-Xmx1024M" to this line
$JAVA_EXE $JDBC_INFO -cp "$CO3_UTIL_CLASSPATH" $JBOSS_SLF4J_PARAM $FIPS_JAVA_AGENT com.co3.tools.co3util.Co3Util "$@"
It will look like this
$JAVA_EXE -Xmx1024M $JDBC_INFO -cp "$CO3_UTIL_CLASSPATH" $JBOSS_SLF4J_PARAM $FIPS_JAVA_AGENT com.co3.tools.co3util.Co3Util "$@"
This increases the max Java heap size to 1024MB. If the problem persists, the max heap size can be increased incrementally by modifying the value of the '-Xmx' option.

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSIP9Q","label":"IBM Security SOAR"},"ARM Category":[{"code":"a8m0z000000cvqKAAQ","label":"Integrations"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Document Information

Modified date:
01 December 2021

UID

ibm16252187