Is it automatic process? I have my image work after test finish duriing one day (holidays). And memory will not cleanup.<br><br>Maybe I should turn on this mechanizm manualy or explicitly perform some method after my transactions?<br>

<br><div class="gmail_quote">2010/10/11 Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div class="h5">On 11 October 2010 13:46, Denis Kudriashov &lt;<a href="mailto:dionisiydk@gmail.com">dionisiydk@gmail.com</a>&gt; wrote:<br>
&gt; Hello.<br>
&gt;<br>
&gt; I run some test in pharo1.1 and magma installed from configuration. I insert<br>
&gt; 100000 objects to local Magma db.<br>
&gt; I use MargaCollection for this.<br>
&gt;<br>
&gt; And after test I have grow memory size. Before I have 90 mb. After I have<br>
&gt; 140 mb.<br>
&gt;<br>
&gt; My code for test is:<br>
&gt;<br>
&gt; session commit: [entitiesGroup entities add: payment].<br>
&gt; session stubOut: entitiesGroup.<br>
&gt; session finalizeOids.<br>
&gt; Smalltalk garbageCollect<br>
&gt;<br>
&gt; entitiesGroup entities is MagmaCollection.<br>
&gt;<br>
&gt; During test I see that &quot;payment class allInstances size&quot; don&#39;t changed. Its<br>
&gt; ok. I do stub/finalize stuff for this.<br>
&gt; But memory usage grow. Its bad.<br>
&gt;<br>
&gt; At the end of test I watch in MaWeakValueDictionary allInstances. And I<br>
&gt; found that some instance has 141000 items. And 140000 items is nil.<br>
&gt; (self select: [:each | each isNil] a MaWeakValueDictionary(size 140064)).<br>
&gt;<br>
&gt; This is my problem<br>
&gt; What I do wrong?<br>
&gt;<br>
&gt;<br>
<br>
If i remember correctly, there are a mechanism, which should clean it<br>
up periodically.<br>
But not too often , to prevent too much processing.<br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Magma mailing list<br>
&gt; <a href="mailto:Magma@lists.squeakfoundation.org">Magma@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/magma" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/magma</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
_______________________________________________<br>
Magma mailing list<br>
<a href="mailto:Magma@lists.squeakfoundation.org">Magma@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/magma" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/magma</a><br>
</div></div></blockquote></div><br>