Info

此问题已关闭。 请重新打开它进行编辑或回答。

MATLAB for Mac (Unix) gets slow overtime

1 次查看(过去 30 天)
lyxicon
lyxicon 2013-9-28
关闭: MATLAB Answer Bot 2021-8-20
I am running R2012a on OS X 10.8.5 (latest as of now) on a 2009 Macbook Pro (2.2GHz i7, 8GB, SSD).
I am experiencing an issue when the MATLAB GUI gets progressively slow after 20-30 minutes. It is especially easy to reproduce if I repeatedly compile a program that has plots. Eventually, I get a beachball and I have to relaunch the app. A simple relaunch of the program always brings everything back to normal.
I have tried R2011 with the same results. Is anyone else having this issue?

回答(1 个)

Walter Roberson
Walter Roberson 2013-9-28
I suggest that you use the Apps store to load in "StatsBar". After it is installed, find it in Applications and launch it. Then, go up to the icon that appears in your toolbar (upper right of screen), and click on there. That will launch it. When you are actively using it to monitor something, I recommend going over to the upper left of the monitor window and click on the "anchor" symbol: once that is done, the monitor window will stay active when you click on another window.
I suggest you monitor memory use as you go. After you have launched MATLAB, click on the "Clean Memory" area of the StatsBar monitor window. When it finishes cleaning, have a look at "Free" (Memory). Then as you run the program, keep your eye on the Free figure. When it starts getting low, click on Clean Memory again. StatsBar will automatically run cleaning for you without you having to click there, but StatsBar tends to leave that a bit late in the cycle, when you are down to only a couple of hundred megabytes, and when you get down that far, cleaning memory takes exponentially longer.

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by