From: chairmanK on
I have a similar problem. I run a script that sequentially loads, modifies, saves, and clears large struct arrays from *.mat files that are ~100 MB each. MATLAB steadily increases its memory use until the computer hangs, even though total size of the variables in the workspace remains bounded. I would like to know how to diagnose the problem.