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
Currently, basically no memory is ever freed. The allocator isn't even deinit'd.
Start out by writing routines for recursively freeing ASTNode's, then start deinit'ing the GPA, and piping the output traces through less to find out what else is not being deallocated.
The text was updated successfully, but these errors were encountered:
Worked a bit on this. From analysing allocator deinit stderr output, unfreed allocations are down from 12752 unfreed allocations (before work began), to 6178 unfreed allocations, to 418.
Most of the remaining unfreed allocations seems to be coming from TypeInfo's and random lexer/AST nodes that seem to have been orphaned(?).
Note to future self: create a Box type of the form
Currently, basically no memory is ever freed. The allocator isn't even
deinit
'd.Start out by writing routines for recursively freeing
ASTNode
's, then startdeinit
'ing the GPA, and piping the output traces throughless
to find out what else is not being deallocated.The text was updated successfully, but these errors were encountered: