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
COMSOL64/Multiphysics/bin/<arch> directory.
<arch> correspond to the architecture of the machine where the COMSOL Multiphysics server is running (win64, maci64, macarm64, or glnxa64).