Simcenter STAR-CCM+ How do I find the default Java heap size for my operating system on Linux or Windows?

2023-01-20T09:37:30.000-0500
Simcenter STAR-CCM+ Simcenter STAR-CCM+ Virtual Reality Teamcenter Share Simcenter Cloud HPC Simcenter STAR-CCM+ Viewer Simcenter STAR-CCM+ Application Specific Solutions

Summary

using the -jvmargs tag you can check the default java heap size when launching STAR-CCM+


Details

The java heap size can vary depending on the operating system of the client.  This could cause issues with java exceptions when running a macro on one system or in batch mode, which worked on a different operating system.
 
Linux
“Path_to_install”/star/bin starccm+ -jvmargs -XX:+PrintFlagsFinal | grep MaxHeapSize

User-added image

Windows
In command prompt from “Path_to_Install”\star\bin starccm+.exe -jvmargs -XX:+PrintFlagsFinal | find "MaxHeapSize"

User-added image

 
The examples show that the Windows system has significantly higher Max Heap Size than the Linux system.
To adjust/increase the amount of Java Heap Size when launching STAR-CCM+ please see the following article: When would I need to increase the Java heap size and how do I do this?.


See Also;
When would I need to increase the Java heap size and how do I do this?

KB Article ID# KB000033302_EN_US

Contents

SummaryDetails

Associated Components

Design Manager Electronics Cooling In-Cylinder (STAR-ICE) Job Manager Simcenter STAR-CCM+