フィルターのクリア

Program running for a long time: Shall I let it run?

2 ビュー (過去 30 日間)
Andi
Andi 2014 年 2 月 18 日
コメント済み: José-Luis 2014 年 2 月 18 日
I am running a code on a Matlab instance from within the Terminal in Mac OSX 10.6 (Matlab R2011a, Macpro, 32 GB, ~900 GB free on startup disk)). After about 12 hours, the 'Startup disk has no more space available for application memory" message popped up. However, there was no discernible slowdown of the system. According to the "top" utility, the Matlab session in question alternates between "running" and "stuck". It is "stuck" (approximately) 4 seconds in a minute. As of now, I have let it run for almost 22 hours, with all other systems running smoothly (no freeze-ups, no crashes etc.). Activity Monitor says that swap used is 59 GB, out of ~344 GB. In the attached "top" output, the PID for the session in question is 13002. (There is a second instance of Matlab -53535- running something else with no problems.)
My questions are, for PID 13002: 2) Since it is "running" for most of the time, does that mean that it is still computing? 1) Shall I let it run? If yes, what should I be looking for?
Thanks in advance!
  1 件のコメント
José-Luis
José-Luis 2014 年 2 月 18 日
If you're using swap space then I strongly recommend you refactor your program. That means ram sources are depleted and disk space is being used instead. A hard drive, even a solid state one, is order of magnitudes slower than ram. That might explain why your program is running so slow.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by