-
-
Notifications
You must be signed in to change notification settings - Fork 653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Viewport3DX has memory leaks #2060
Comments
Yes, there are some internal caches for things like shaders etc. So as long as the memory is not keeping increment each time you load an new scene, it should be ok. |
I add a PointNode for each Viewport3DX. <hx:Element3DPresenter Content="{Binding Root }" /> It is indeed not possible to release resources correctly when Viewport3DX shares the EffectsManager. |
You need to force gc multiple times to release resources, there's nothing to do with viewport. |
Multiple Viewport3DXs sharing a single EffectsManager can improve loading speed, but it can also lead to memory leaks. I'm not sure if this is a bug or if I haven't found the right way to dispose the Viewport3DX?
Some resources never seem to get cleaned up when sharing EffectsManager.
This is the demo project:
ViewportMemoryLeakTest.zip
The text was updated successfully, but these errors were encountered: