Did this article resolve your question/issue?


Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025



Corticon Memory Sizing Tips

« Go Back


Article Number000046561
EnvironmentProduct: Corticon Studio, Corticon Server, Deployment Console
Version: 5.x
OS: All supported platforms
Database: N/A
Browser: N/A
Application Server: All supported application servers
Question/Problem Description

How to set the memory / heap space for Corticon Studio, Corticon Server, Deployment Console ?

Steps to Reproduce
Clarifying Information

Error MessagePossible Corticon Memory Error Messages:
Cc - java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: PermGen space

java.lang.OutOfMemoryError: GC overhead limit exceeded

Java Virtual Machine Launcher
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Problem occured: Unable to initialize part
GC overhead limit reached
Defect/Enhancement Number

Corticon Server, Deployment Console, Corticon Management Utility or Corticon Studio can be started with memory parameters when required. Separate start up parameter configuration is required for all components.

Trying to increase memory may result in a JVM error as allocation depends on 2 limits:

1) How much physical RAM is available on the machine, and

2) If the OS is 32 or 64 bit : If using a 32-bit OS, then the maximum amount of addressable memory is 2Gb

(For further details for Window machines see the link :

Note: Corticon 5.6 and above only supports 64-bit OS.

To resolve issue,

Cc - java.lang.OutOfMemoryError: Java heap space

  • Modify the Xmx and Xms parameters  (e.g. -Xmx1024m instead of default -Xmx384m or -Xms512m instead of default -Xms40m):

java.lang.OutOfMemoryError: PermGen space

  • Increase the PermSize value (e.g. -XX:PermSize=256m, -XX:MaxPermSize=512m)
      Note: PermGen space (PermSize and MaxPermSize) is removed in Java 8

java.lang.OutOfMemoryError: GC overhead limit exceeded
  • Modify the Xmx and Xms parameters and specify the GC option (e.g.-XX:-UseGCOverheadLimit)

Corticon Studio

Corticon Development Studio or Corticon Full Studio 5.3.x and higher

Edit the Eclipse.ini file which can be found in [CORTICON_HOME]\Studio\eclipse\eclipse.ini and modify the -Xmx, -Xms, PermSize, or -XX:-UseGCOverheadLimit parameters

Corticon Studio for Analysts / Corticon Studio 5.2 and lower versions
Edit the Studio.ini file which can be found in [CORTICON_HOME]\\Studio for Analysts\Studio.ini and modify the
-Xmx, -Xms, PermSize, or -XX:-UseGCOverheadLimit parameters

Corticon Studio related issues
000065683, "java.lang.OutOfMemoryError: Java heap space" error in Corticon Studio when working with rule assets
000061384, Corticon Studio crashes on launching it with error "Could not create the Java Virtual Machine., Java was started but returned exit code=1"
000057354, Studio crashes when memory for Studio is set beyond 1024m in eclipe.ini resulting in inability to load ruleflow and create tester for ruleflow
000029975, Corticon Studio ruleflow response time is slow
000038077, Best practices for Corticon Studio to avoid slowness and improve performance

Corticon Server

This is not a simple Corticon setting. It is a function of how much memory the container is allocating to the JVM in which Corticon Server runs.  
To increase the heap size on the web/application server - the method for this varies from server to server. 

Weblogic and WebSphere both have configuration settings in their admin screens. 

Tomcat (installed as a Windows Service) has a GUI utility.  (e.g. 000091836, Increase JVM memory when Corticon is running as a Windows Service)

Tomcat ( The version that is distributed with Corticon Server Installer ) needs an entry made in the startup [CORTICON_HOME]\Server\bin\startServer.bat|.sh batch file. 



Corticon Server related issues
000058653, "java.lang.OutOfMemoryError: PermGen space" error when the CPU utilization becomes 100% and Corticon Server does not return a response
000028776, PermGen error while starting Tomcat
000042254, java.lang.OutOfMemoryError: GC overhead limit exceeded when compiling rules on a 64 bit machine
000043900, Corticon Java process running out of heap memory with error : java.lang.OutOfMemoryError: GC overhead limit exceeded

Corticon Utilities

Corticon Deployment Console/Multiple Compilation Utility

Edit multipleCompilation.bat or deployConsole.bat which can be found in [CORTICON_HOME]\Server\bin\deployConsole.bat and modify the -Xmx, -Xms, PermSize, or -XX:-UseGCOverheadLimit parameters

-XX:PermSize=256m  -XX:MaxPermSize=512m -XX:-UseGCOverheadLimit

Corticon Management Utility

Edit corticonManagement.bat which can be found in [CORTICON_HOME]\Server\bin\corticonManagement.bat and add the -Xmx, -Xms, PermSize, or -XX:-UseGCOverheadLimit parameters

CALL "%JAVA_HOME%\bin\java.exe" -Xms512m -Xmx1024m -XX:PermSize=256m  -XX:MaxPermSize=512m -XX:-UseGCOverheadLimit  -cp "%CORTICON_CLASSPATH%" -DCORTICON_SETTING=UTL -DCORTICON_HOME="%CORTICON_HOME%" -DCORTICON_WORK_DIR="%CORTICON_WORK%" %*

References to other documentation
For Tomcat application server also see:
Last Modified Date9/19/2019 7:10 PM