Matlab 2017a very slow in linux
1 次查看(过去 30 天)
显示 更早的评论
I have a Linux machine (CentOS 7) running Matlab 2017a that gets very sluggish after running a Simulink model. The machine has 8 cores, 32 GB of memory. Running the model uses up about 7 GB of memory. While examining the results of the model, I noticed that any command that I run in the command window either a) takes a few minutes to execute or b) quickly spits out the answer but then Matlab becomes unresponsive for a few minutes. I notice by watching the System Monitor while Matlab is out to lunch that it seems to be slowly allocating about 100 MB of memory and then quickly releasing it - over and over and over again. This behavior occurs even when I ask Matlab to do something simple, like
>> 2*2
I have been scouring these answers for something that resolves this issue. There is no network drive in my search path. I have no figures open. I have allocated 4 GB of java heap space. I am not sure if this is a java, Simulink, or Matlab problem. I thought that it was a display issue (running GEFORCE GTX TITAN X) but by eliminating plots and only asking Matlab to solve a simple arithmetic problem, I eliminated that possibility.
Thanks for your help.
3 个评论
Walter Roberson
2017-12-1
You probably have no fplot() running -- I was demonstrating that in at least some cases, graphics keep processing in the background for complicated graphics, even after returning to the command line.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!