Is anyone else having problems with MatLab 2020b freezing when saving/viewing figures? If so do you know any solutions?

55 次查看(过去 30 天)
Often I find matlab freezing when I try do things to a figure I've plotted, etc zooming in and out, and closing or saving the figure. If I restart matlab the problem goes away for a short time but after a few hours it comes back.
Looking in the task manager there does seem to be a large build up in the amount of memory it is using, currently at it's at 3GB but the data in my workspace is only 50MB so this seems excessively large.
I only started using 2020b ~2 weeks ago and I've never had this problem when using 2017a.
If anyone has suggestions please let me know!

回答(1 个)

Bruno Luong
Bruno Luong 2020-10-20
编辑:Bruno Luong 2020-10-20
I don't know if you have the same problem, in my case I found a large memory leak of TMW graphic system when using opengl hardware
My workaround: The problem goes away with
opengl software
however this affects the graphical render quality and speed of certain interrractivity (zoom, rotate, etc...).
I can switch between hardware and software in my app, by feels very uncomfortable with this issue.
Not sure about version, I only test my code from R2018b, and the issue occurs with this version up to R2020b.
But first check if you don't add unintentionally (redundant) graphic objects in your figure.

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by