Program running for a long time: Shall I let it run?
2 次查看(过去 30 天)
显示 更早的评论
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
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 Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!