You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
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.
// Make sure we free the data objects we allocated.for (auto& data : m_data)
{
delete data;
}
In frame_graph.hpp Destroy function
Auto doesn't provide clarity about the type; but the type is void*. This means that it doesn't call free or the destructor of the object.
Memory impact
Among the largest left over objects are because of this issue (est. 20%)
Possible issues to look into further:
Left-over data includes; C++ initialization data which should be taken care of by the program finishing unloading. Other than that; file streams seem to have temporary memory that may or may not be deleted after program end.
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.