Mon, 04/25/2022 - 10:04
Forums:
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!
Mon, 04/25/2022 - 10:54
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.
Tue, 04/26/2022 - 09:27
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
Tue, 04/26/2022 - 10:22
Provided details are still too spare to share any thoughts.
Tue, 01/16/2024 - 04:33
you invoke MustBeResized too many times in a short time ,it is occt bug