<div dir="ltr"><div>FYI<br><br></div>It looks like a "simple" memory leak, please see my initial investigation on github issue:<br><br><a href="https://github.com/ktechlab/ktechlab/issues/43">https://github.com/ktechlab/ktechlab/issues/43</a><br><br><br><div><div><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">gabre</b> <span dir="ltr"><<a href="mailto:notifications@github.com">notifications@github.com</a>></span><br>Date: 2018-03-15 22:31 GMT+02:00<br>Subject: [ktechlab/ktechlab] Circuit seemingly results in memory leak (#43)<br>To: ktechlab/ktechlab <<a href="mailto:ktechlab@noreply.github.com">ktechlab@noreply.github.com</a>><br>Cc: Subscribed <<a href="mailto:subscribed@noreply.github.com">subscribed@noreply.github.com</a>><br><br><br><p>The following circuit (when simulation is run) results in continuous memory growth - I do not see why memory shouldn't be constant in this case.</p>
<p><code><!DOCTYPE KTechlab> <document type="circuit"> <item x="636" y="284" z="7" type="ec/capacitor" id="capacitor" flip="0" angle="0"> <data type="number" value="0.001" id="Capacitance"/> </item> <item x="532" y="244" z="0" type="ec/fixed_voltage" id="fixed_voltage" flip="0" angle="0"> <data type="number" value="5" id="voltage"/> </item> <item x="540" y="180" z="4" type="ec/fixed_voltage" id="fixed_voltage__69" flip="0" angle="0"> <data type="number" value="5" id="voltage"/> </item> <item x="692" y="356" z="1" type="ec/ground" id="ground" flip="0" angle="270"/> <item x="676" y="180" z="3" type="ec/led" id="led" flip="0" angle="0"> <data type="number" value="1e-15" id="I_S"/> <data type="number" value="1" id="N"/> <data type="number" value="4.7" id="V_B"/> <data type="color" value="#f62a2a" id="0-color"/> </item> <item x="684" y="244" z="2" type="ec/npnbjt" id="npnbjt" flip="0" angle="0"> <data type="number" value="100" id="B_F"/> <data type="number" value="1" id="B_R"/> <data type="number" value="1e-16" id="I_S"/> <data type="number" value="1" id="N_F"/> <data type="number" value="1" id="N_R"/> </item> <item x="612" y="180" z="5" type="ec/resistor" id="resistor" flip="0" angle="0"> <data type="number" value="1" id="resistance"/> </item> <item x="588" y="244" z="6" type="ec/resistor" id="resistor__84" flip="0" angle="0"> <data type="number" value="10000" id="resistance"/> </item> <connector route="69,22,70,22,71,22,72,<wbr>22,73,22," end-node-parent="resistor" manual-route="1" end-node-is-child="1" start-node-is-child="1" end-node-cid="n1" start-node-parent="fixed_<wbr>voltage__69" id="connector" start-node-cid="p1"/> <connector route="76,30,76,31,76,32,76,<wbr>33,76,34,76,35,77,35," end-node-parent="capacitor" manual-route="1" end-node-is-child="1" start-node-is-child="1" end-node-cid="n1" start-node-parent="resistor__<wbr>84" id="connector__100" start-node-cid="p1"/> <connector route="83,30,82,30,82,31,82,<wbr>32,82,33,82,34,82,35,81,35," end-node-parent="capacitor" manual-route="1" end-node-is-child="1" start-node-is-child="1" end-node-cid="p1" start-node-parent="npnbjt" id="connector__101" start-node-cid="b"/> <connector route="86,28,86,27,87,27,88,<wbr>27,88,26,88,25,88,24,88,23,88,<wbr>22,87,22,86,22," end-node-parent="led" manual-route="1" end-node-is-child="1" start-node-is-child="1" end-node-cid="p1" start-node-parent="npnbjt" id="connector__71" start-node-cid="c"/> <connector route="86,32,86,33,86,34,86,<wbr>35,86,36,86,37,86,38,86,39,86,<wbr>40,86,41,86,42," end-node-parent="ground" manual-route="1" end-node-is-child="1" start-node-is-child="1" end-node-cid="p1" start-node-parent="npnbjt" id="connector__72" start-node-cid="e"/> <connector route="79,22,80,22,81,22,82,<wbr>22," end-node-parent="led" manual-route="1" end-node-is-child="1" start-node-is-child="1" end-node-cid="n1" start-node-parent="resistor" id="connector__80" start-node-cid="p1"/> <connector route="68,30,69,30,70,30," end-node-parent="resistor__84" manual-route="0" end-node-is-child="1" start-node-is-child="1" end-node-cid="n1" start-node-parent="fixed_<wbr>voltage" id="connector__87" start-node-cid="p1"/> </document></code></p>
<p style="font-size:small;color:rgb(102,102,102)">—<br>You are receiving this because you are subscribed to this thread.<br>Reply to this email directly, <a href="https://github.com/ktechlab/ktechlab/issues/43" target="_blank">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAwUboZuCRQ8OhpGPYxQKBa-DLQ6_CSGks5tes-UgaJpZM4Ss1i_" target="_blank">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAwUbsVXYIAK_NBQ-MAEWuDILH_fcgReks5tes-UgaJpZM4Ss1i_.gif" alt="" width="1" height="1"></p>
<div>
<div>
</div>
</div>
</div><br></div></div></div>