MATLAB freeze memory problem
3 ビュー (過去 30 日間)
古いコメントを表示
Hi there, our lab has been trying to solve the following problem and I was hoping that someone might be able to help.
- MATLAB R2012b operating on Scientific Linux 6 is freezing when memory usage increases with different programs/code--i.e., you need to kill the PID. It was running a week ago and we have more than enough memory to handle the jobs (approx. 10G of RAM and 80G hard disk; also swap is fine, not that this matters). Jobs with lower memory requirements run fine and 'bench' works fine.
Would resetting or re-installing MATLAB be the only solutions? Could this be due to our license? (it's current but it is stored on another server)
Many thanks, Dominic
0 件のコメント
回答 (2 件)
Jan
2015 年 9 月 21 日
編集済み: Jan
2015 年 9 月 21 日
Find out, what you changed since it ran fluently. Compare the current code with your backups.
Even if the memory was fine before, a mistake like x=rand(1e6) can freeze the machine for hours.
Are there any infinite loops, e.g. in C-Mex functions?
A freezing Matlab is not an effect of problems with the license. If you have problems with the license, you get an error message, which tells you, that you have problems with the license. There are no magic connection to the processing speed or even a freezing of Matlab.
3 件のコメント
Walter Roberson
2015 年 9 月 21 日
Checks to see if the license is still active can cause freezing if the remote system does not respond promptly. In such a case the CPU utilization should go to pretty much 0.
Anton
2015 年 12 月 13 日
Dominic, did you manage to track the problem? I have exactly the same issue with Matlab. Tried multiple versions of Matlab and gcc. One machine with Scientific Linux 6.5 freezes randomly, others work flawlessly. So far I managed to producer the same behaviour with a simple script (operations with 3D matrices). I'll report as soon as I reproduce it with a VERY simple script.
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!