Fwd: [ktechlab/ktechlab] Circuit seemingly results in memory leak (#43)

Zoltan Padrah zoltan.padrah at gmail.com
Fri Mar 16 12:34:24 UTC 2018


FYI

It looks like a "simple" memory leak, please see my initial investigation
on github issue:

https://github.com/ktechlab/ktechlab/issues/43


---------- Forwarded message ----------
From: gabre <notifications at github.com>
Date: 2018-03-15 22:31 GMT+02:00
Subject: [ktechlab/ktechlab] Circuit seemingly results in memory leak (#43)
To: ktechlab/ktechlab <ktechlab at noreply.github.com>
Cc: Subscribed <subscribed at noreply.github.com>


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.

<!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,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_voltage__69"
id="connector" start-node-cid="p1"/> <connector
route="76,30,76,31,76,32,76,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__84"
id="connector__100" start-node-cid="p1"/> <connector
route="83,30,82,30,82,31,82,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,27,88,26,88,25,88,24,88,23,88,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,35,86,36,86,37,86,38,86,39,86,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,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_voltage" id="connector__87"
start-node-cid="p1"/> </document>

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/ktechlab/ktechlab/issues/43>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAwUboZuCRQ8OhpGPYxQKBa-DLQ6_CSGks5tes-UgaJpZM4Ss1i_>
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20180316/eae4d5c4/attachment.html>


More information about the Ktechlab-devel mailing list