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

2 visualizaciones (últimos 30 días)
Andi
Andi el 18 de Feb. de 2014
Comentada: José-Luis el 18 de Feb. de 2014
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 comentario
José-Luis
José-Luis el 18 de Feb. de 2014
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by