Replies: 1 comment
-
Closing in favor of issue. #185 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have some memory leaks using the blast plugin, that comes from using the NvBlastExtAuthoringFindAssetConnectingBonds method.
If I go through the log I have for the leaks, I have a call to NvBlastExtAuthoringTransformCollisionHull in the method, line 527 of NvBlastExtAuthoring.cpp. It then points me to these allocations in NvBlastExtAuthoringTransformCollisionHull (line 174 to 176 of NvBlastExtAuthoring.cpp) :
The CollisionHulls allocated by this method are stored in hullToRelease array, which then deletes all these CollisionHulls (line 574) :
I did implement my custom CollisionHullImpl, to go with my custom ConvexMeshBuilder, but the destructor of my CollisionHullImpl does release these arrays (and I don't have leaks problems when using my ConvexMeshBuilder) :
It seems the base CollisionHull struct has no destructor at all. The leaks might come from this?
Beta Was this translation helpful? Give feedback.
All reactions