Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
COMSOL with MATLAB leaking memory
Posted Jul 5, 2019, 4:25 a.m. EDT General, LiveLink for MATLAB Version 5.4 2 Replies
Please login with a confirmed email address before reporting spam
Hi everyone,
I'm having memory issues when using COMSOL LiveLink for MATLAB. Essentially I'm solving the same simulation with varying parameters in a for loop while because I'm intrested in some parametric dependence. Unexpectedly, as the simulation is running the memory usage slowly piles up. Even after clearing the workspace (clear all, clearvars, clear -global), the program comsolmphserver.exe is still consuming a lot of memory. The same script didn't give this problem with 5.2a, it began when I started using 5.4
Is there any way to release this memory? Thanks in advance