<div dir="ltr"><div>Thanks Woody!</div><div><br></div><div>The patch seems pretty straight forward, I might have a go with it</div><div>at some point. Certainly though help with some understanding of s7</div><div>internals :)<br></div><div><br></div><div>I do hope Bil gets to merge this (or some other version of it) cause</div><div>maintaining changes &amp; merging the upstream.. ughh..</div><div><br></div><div>Oh and found your original post in the mailing list:</div><div><a href="https://www.mail-archive.com/cmdist@ccrma.stanford.edu/msg05320.html">https://www.mail-archive.com/cmdist@ccrma.stanford.edu/msg05320.html</a></div><div>(bonus: the list is searchable through mail-archive! nice thing it became public)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 8 Sep 2020 at 15:18, Woody Douglass &lt;<a href="mailto:wdouglass@carnegierobotics.com">wdouglass@carnegierobotics.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="font-family:&quot;Segoe UI&quot;,Frutiger,&quot;Frutiger Linotype&quot;,&quot;Dejavu Sans&quot;,&quot;Helvetica Neue&quot;,Arial,sans-serif;font-size:14px">
<div>
<div>Christos, <br>
<br>
Here&#39;s a copy of the patch i put on this list back in May. It&#39;s against svn revision 804. I&#39;ve been running that version since mid-May.<br>
<br>
Good luck!<br>
Woody Douglass<br>
 </div>
</div>
 
<div>
<p>On 2020-09-08 09:12:27-04:00 <a href="mailto:cmdist-bounces@ccrma.Stanford.EDU" target="_blank">cmdist-bounces@ccrma.Stanford.EDU</a> wrote:</p>
<blockquote style="padding-left:10px;border-left:1px solid rgb(204,204,204);margin:0px">
<div>
<div dir="ltr">
<div>Indeed the instances could be reused, but that would imply</div>
<div>using a common mutex amongst the running threads for any</div>
<div>s7 operation (right?).</div>
<div>What I need in my case is truly parallel instances doing their own thing.</div>
<div></div>
<div>I&#39;m glad to hear that Woody has some sort of a solution.</div>
<div>I hope it gets merged at some point, but I also hope for a solution</div>
<div>in the future that frees not most but *all* of s7&#39;s memory :)</div>
<div></div>
<div>Any chance I could see this code? By curiosity and to see if I could</div>
<div>slowly get some understanding of the inner workings of s7.</div>
</div>
 
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 8 Sep 2020 at 01:06, &lt;<a href="mailto:bil@ccrma.stanford.edu" target="_blank">bil@ccrma.stanford.edu</a>&gt; wrote:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
You&#39;re right that free(sc) does not free much.  Woody Douglass<br>
sent me code to free most of s7&#39;s memory -- the main thing<br>
is the heap -- but I haven&#39;t tackled merging it into my<br>
version of s7 yet.  I think s7 instances can be reused --<br>
just keep all your stuff in a sublet of rootlet, then<br>
set it to #f, but it would be better to actually clean up.<br>
 </blockquote>
</div>
</div>
</blockquote>
</div>
</div>

</blockquote></div>