Setting Max Heap (2024)

FlexNet Code Insight 6.13.2

To set Max Heap, do the following:

1. Go to the <Code Insight_ROOT_DIR>\<version>\tomcat\bin\ directory and edit the catalina.bat file if running Windows or catalina.sh file if running Linux.
2. Update the Max Heap size (-Xmx) for Tomcat. FlexNet Code Insight recommends that you set the Max Heap size to approximately 80% of available memory. For a 16GB system, the value should be set to 12288m. For 32GB systems, the value should be set to 25600. See the example below.
3. Update the Min Heap size (-Xms) to be equal to or less than the max heap size. For a 16GB system, the value should be set to 12288m. For 32GB system, the value should be set to 25600. See the example below.

Windows

set CATALINA_OPTS=-Xms12288m -Xmx12288m -XX:PermSize=1024m -XX:MaxPermSize=1024m

Linux

CATALINA_OPTS="-Xms12288m -Xmx12288m -XX:PermSize=1024m -XX:MaxPermSize=1024m

FlexNet Code Insight 6.13.2 Online Help Library

August 2019

Copyright Information | Flexera Software

Open topic with navigation

Setting Max Heap (2024)
Top Articles
Latest Posts
Article information

Author: Nathanial Hackett

Last Updated:

Views: 6632

Rating: 4.1 / 5 (72 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Nathanial Hackett

Birthday: 1997-10-09

Address: Apt. 935 264 Abshire Canyon, South Nerissachester, NM 01800

Phone: +9752624861224

Job: Forward Technology Assistant

Hobby: Listening to music, Shopping, Vacation, Baton twirling, Flower arranging, Blacksmithing, Do it yourself

Introduction: My name is Nathanial Hackett, I am a lovely, curious, smiling, lively, thoughtful, courageous, lively person who loves writing and wants to share my knowledge and understanding with you.