You haven't provided details on how you have measured memory usage parameters for "Memory will increase".
In general, OpenGL driver may manage their memory as a black box in the way they would like to - in many cases this means lazy memory release.
Archived discussion
Memory increase when MustBeResized is called?
Memory will increase when MustBeResized is called.
Then it will not be released...
Opencascade V7.4.0
PC OpenGL 3.1
Is there a way to release the memory?
code >>>>>
Handle_V3d_View m_view
...
m_view->MustBeResized(); // <----
<<<<< code
This problem does not occur on an OpenGL 4.6 PC.
Best Regard!
Discussion
4 archived replies
Posts are displayed in their archived order.
Thank you for your advice.
I'm using "procexp.exe"(Process Explorer) to check "Private Bytes".
Memory was not released after more than 10 minutes ...
[Process Explorer]
https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
Provided details are still too spare to share any thoughts.
you invoke MustBeResized too many times in a short time ,it is occt bug