-
Notifications
You must be signed in to change notification settings - Fork 15
Memory leaks #387
Comments
// Make sure we free the data objects we allocated.
for (auto& data : m_data)
{
delete data;
} In frame_graph.hpp Destroy function Memory impactAmong the largest left over objects are because of this issue (est. 20%) |
PhysicsEngine::destroy is never being called, leaving behind bullet's resources. Memory impactThe biggest impact as bullet allocates several memory pools (est. 60%) |
texture_pool ptr is potentially never reset; leaving behind some memory. Memory impactNot that much (est. 5%) |
|
|
|
|
Possible issues to look into further: |
Even though CPU memory leaks are mostly cleaned up, there could potentially still be GPU memory leaks. |
Is your request related to a problem? Please describe.
There's several memory leaks that result in problems when the maya plugin unloads wips.
This thread will be used to note the findings of the inspection.
Describe the solution you'd like
These instances should be fixed.
Describe alternatives you've considered
N.A.
Additional context
Create an exit callback (call onexit(myCallback)), place a breakpoint on start and in the callback and take 2 snapshots to diff.
The text was updated successfully, but these errors were encountered: