using the -jvmargs tag you can check the default java heap size when launching STAR-CCM+
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
Windows In command prompt from “Path_to_Install”\star\bin starccm+.exe -jvmargs -XX:+PrintFlagsFinal | find "MaxHeapSize"