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

54 vues (au cours des 30 derniers jours)
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!
  2 commentaires
Murat Azizoglu
Murat Azizoglu le 15 Avr 2022
Modifié(e) : Murat Azizoglu le 15 Avr 2022
Same here. Matlab (2020a) freezes frequently when a figure is open. Problem seems to go away once the figure is closed.

Connectez-vous pour commenter.

Réponses (1)

Bruno Luong
Bruno Luong le 20 Oct 2020
Modifié(e) : Bruno Luong le 20 Oct 2020
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.
  1 commentaire
Bruno Luong
Bruno Luong le 15 Avr 2022
Revisit my complain 18 months ago, I run the same program on R2022a and Windows11, same computer, the big memory leak of opengl hardware seems to be gone.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by