Memory leak with OPENGL hardware

6 vues (au cours des 30 derniers jours)
Bruno Luong
Bruno Luong le 19 Sep 2020
Modifié(e) : Bruno Luong le 19 Sep 2020
Context: I have a matlab code that output a complex 3D graphic animation on GUI figure, involving patch, lines, markers, camera light some of them have context menus for user interraction. The animation wiill switch on/off the objects and change the coordinats by SET(...) commands. The graphic is actually two 6-joint robots within a 3D scene.
This code supposes to work continuously for few hours.
There is a huge memory leak if I use
opengl hardware
when the program starts. It eats about 1 Gbyte every 10 minutes, and of course the program just hangs after an hour on a 16 Gb PC.
When I switch to
opengl software
everything is fine and windows show stable memory occupied by MATLAB.
And before someone asks, yes my graphics driver is up to date. This memory leakage happen consistently on different PCs (all with Nvidia graphic card) and across different MATLAB version from R2018b to R2020b.
This bugs me big time, and we are stuck with this work-around.
I have not time to investigate to produce a MWE.
There is no question in my post, just a report. It seems nobody has bumped to this issue yet like me.

Réponses (0)

Catégories

En savoir plus sur Object Containers 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