<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I cleaned my sandbox more, after it did go up 574MB in 14 hours.<br>
It looks like with only the latest build scripts with fixes. Memory
seems to keep pretty stable.<br>
<br>
Its just some idea maby a direction, hard to trace back.<br>
I think that there is some memory leak when list are created inside
(repeating events, like this.<br>
<br>
simplified example :<br>
<pre class="lsl"><a href="http://wiki.secondlife.com/index.php?title=default"><span style="color: #0000FF;font-weight: bold; text-decoration: none;">default</span></a>
<span style="color: #66cc66;">{</span>
timer<a href="http://wiki.secondlife.com/index.php?title=touch_start"><span style="color: #00A0A0;font-weight: bold; text-decoration: none;"></span></a><span style="color: #66cc66;">(</span><a href="http://wiki.secondlife.com/index.php?title=integer"><span style="color: #007700;font-weight: bold; text-decoration: none;"></span></a><span style="color: #66cc66;">)</span>
<span style="color: #66cc66;">{</span>
<a href="http://wiki.secondlife.com/index.php?title=list"><span style="color: #007700;font-weight: bold; text-decoration: none;">list</span></a> a <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">[</span><span style="color: #00A000;">"abc"</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">2</span>,<span style="color: #cc66cc;">3.14</span>,<span style="color: #66cc66;"><</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">></span><span style="color: #66cc66;">]</span>;
<a href="http://wiki.secondlife.com/index.php?title=llOwnerSay"><span style="color: #A00000;font-weight: bold; text-decoration: none;">llOwnerSay</span></a><span style="color: #66cc66;">(</span><span style="color: #66cc66;">(</span><a href="http://wiki.secondlife.com/index.php?title=string"><span style="color: #007700;font-weight: bold; text-decoration: none;">string</span></a><span style="color: #66cc66;">)</span>a<span style="color: #66cc66;">)</span>; <span style="color: #FF7700;">// outcome: abc123.140000<0.000000, 0.000000, 0.000000></span>
<span style="color: #66cc66;">}</span>
<span style="color: #66cc66;">}
I did that by mistake to, i moved the "</span><a href="http://wiki.secondlife.com/index.php?title=list"><span style="color: #007700;font-weight: bold; text-decoration: none;">list</span></a> a;" out opf the timer event. Like this.
<a href="http://wiki.secondlife.com/index.php?title=list"><span style="color: #007700;font-weight: bold; text-decoration: none;">list</span></a> a;
<a href="http://wiki.secondlife.com/index.php?title=default"><span style="color: #0000FF;font-weight: bold; text-decoration: none;">default</span></a>
<span style="color: #66cc66;">{</span>
timer<a href="http://wiki.secondlife.com/index.php?title=touch_start"><span style="color: #00A0A0;font-weight: bold; text-decoration: none;"></span></a><span style="color: #66cc66;">(</span><a href="http://wiki.secondlife.com/index.php?title=integer"><span style="color: #007700;font-weight: bold; text-decoration: none;"></span></a><span style="color: #66cc66;">)</span>
<span style="color: #66cc66;">{</span>
a = [];
<a href="http://wiki.secondlife.com/index.php?title=list"><span style="color: #007700;font-weight: bold; text-decoration: none;"></span></a>a <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">[</span><span style="color: #00A000;">"abc"</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">2</span>,<span style="color: #cc66cc;">3.14</span>,<span style="color: #66cc66;"><</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">></span><span style="color: #66cc66;">]</span>;
<a href="http://wiki.secondlife.com/index.php?title=llOwnerSay"><span style="color: #A00000;font-weight: bold; text-decoration: none;">llOwnerSay</span></a><span style="color: #66cc66;">(</span><span style="color: #66cc66;">(</span><a href="http://wiki.secondlife.com/index.php?title=string"><span style="color: #007700;font-weight: bold; text-decoration: none;">string</span></a><span style="color: #66cc66;">)</span>a<span style="color: #66cc66;">)</span>; <span style="color: #FF7700;">// outcome: abc123.140000<0.000000, 0.000000, 0.000000></span>
<span style="color: #66cc66;">}</span>
<span style="color: #66cc66;">}</span>
Then it seems to work much better with memory usage. Still testing.
<span style="color: #66cc66;">
</span></pre>
<br>
</body>
</html>