COMSOL Multiphysics stores the data in Java
®. If you are experiencing memory problems during meshing, postprocessing operations, or when exchanging data between the COMSOL
server and MATLAB
®, this can mean that the Java heap size is set with too low a value.
The Java heap size settings for the COMSOL Multiphysics Server process are stored in the comsolmphserver.ini file. You can find this file in the
COMSOL55/Multiphysics/bin/<arch> directory.
<arch> correspond to the architecture of the machine where the COMSOL Multiphysics Server is running (win64, maci64, or glnxa64).
To modify the MATLAB Java Heap size the java.opts file has to be stored at the MATLAB start-up directory. This is the case when starting COMSOL with MATLAB.