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!

Kirill Gavrilov's picture

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.

Keito Okajima's picture

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

Kirill Gavrilov's picture

Provided details are still too spare to share any thoughts.

David Swall's picture

you invoke MustBeResized too many times in a short time ,it is occt bug