3 ms·
One happening in an embedded language with its own GC. Unless you can switch all allocations to explicit management for the tests, it's almost impossible to dif
by viraptor 8y ago
One happening in an embedded language with its own GC. Unless you can switch all allocations to explicit management for the tests, it's almost impossible to differentiate between live objects, free lists, cycles with deferred collection, and arenas that are supposed to be freed on exit.
- spc476 8y agoThat happened with me at work. A certain class of error would leak references and over time they would pile up. Fortunately, Lua (the embedded language in use) allows one to mark certain references as weak references and allow collection. The trick was in determining what to mark as weak references.