[CM] s7 finalization

Woody Douglass wdouglass at carnegierobotics.com
Mon Dec 30 13:11:15 PST 2019


I'm currently debugging a memory leak, and I suspect that it's in my native code, not s7; however, i'd like to rule s7 out as well as figure out if there's some reference chain that's keeping the GC from doing its job. Also, it would probably make valgrind happy to clean up s7's state.



On 2019-12-30 13:21:33-05:00 bil at ccrma.Stanford.EDU wrote:

The question has come up before, but I'm not sure it was
in cmdist.  I don't know how to search the archives.

There's currently no way to destroy the interpreter and
free its resources.  I think it would be easy to release
most of them (the heap etc), but a complete cleanup would
take some effort.  Why do you need this?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20191230/c63bce55/attachment.html>


More information about the Cmdist mailing list