It&#39;s very difficult to replicate the whole situation. I just wanted to know wether it could be somethig wrong in the files, not in the<br>objects in memory for this malcfunction. Could be a unfinished transaction waiting in the files for return to live? Because I didn&#39;t&nbsp; created any extra  transaction, just only one. 
<br>I was testing wether the problem could be in a session that remain in memory.&nbsp; I wrote this test. <br><br>test00OpenSessions<br><br>| session1 session2 |<br>MagmaSession disconnectAndCloseAllConnectedSessions.<br>MagmaSession cleanUp.
<br>Smalltalk garbageCollect.<br>self assert: MagmaSession allInstances isEmpty.<br>session1:=&nbsp; MagmaSession openLocal: &#39;\Squeak 3.9\magma&#39;.<br>session1 connectAs: &#39;User1&#39; asString.<br>self assert: MagmaSession allInstances size = 2. &quot;it fails. There is an extra session with id=nil, user=nil. Is it normal? &quot;
<br>session2:=MagmaSession openLocal:&nbsp; &#39;\Squeak 3.9\magma&#39;.<br>session2 connectAs: &#39;User2&#39; asString.<br>self assert: MagmaSession allInstances size = 3. &quot;idem&quot;<br><br><br><br><br>Regards<br>Norberto
<br><br><div><span class="gmail_quote">On 9/13/07, <b class="gmail_sendername">Chris Muller</b> &lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Norberto, given the lack of specific information, I can only speculate<br>from my gut that you were in a transaction more than one-level deep.<br>In that case, all changes remain solely in memory until you execute<br>the outermost #commit and you will not see any change in the
<br>repository files until then.<br><br>You said it wasn&#39;t the first time you&#39;ve encountered a problem, so<br>would you please retrace your steps, documenting them into a script I<br>can follow that demonstrates a problem?&nbsp;&nbsp;I would be happy to be help.
<br><br>Regards,<br>&nbsp;&nbsp;Chris<br><br><br><br>On 9/13/07, Norberto Manzanos &lt;<a href="mailto:nmanzanos@gmail.com">nmanzanos@gmail.com</a>&gt; wrote:<br>&gt; Hi Chris and people.<br>&gt;<br>&gt; Something really strange has just happened with Magma.
<br>&gt;<br>&gt; I had a repository. One of its collections had about 11000 objects.<br>&gt; I made a massive adding of about 600 objects. 10 objects per<br>&gt; transaction, refreshPersistentObjects... seting to false, readStrategy
<br>&gt; with depth 0.<br>&gt; When the process finished, the size of the collection was about 11600.<br>&gt; I noticed the files of the repository hadn&#39;t change. When I closed the<br>&gt; session the collection size was 11000 again. Where were the other? I
<br>&gt; tried sending an #abort (but the whole process was inside<br>&gt; transactions,so, what for?), then I sent a #cleanUp to MagmaSession (I<br>&gt; don&#39;t known why, magic perhaps). Surprisingly, when I reconnected the
<br>&gt; session and requested the size again, it was 600!. I swear I didn&#39;t<br>&gt; drink nothing but coffee, but when I closed and reconnected the<br>&gt; session one more time, the collection had the 11000 of the beginning.
<br>&gt; The objects file hadn&#39;t changed and the size of the squeak image was<br>&gt; about 150 Mb. So, they were allways in memory ... but where exactly?<br>&gt; There was only one instance of MagmaRepositoryController and two
<br>&gt; instances of MagmaSession, one my session, and a __system session.<br>&gt;<br>&gt; This is not the first time that many objects disapears in the air.<br>&gt; What I really want to understand is what could be the reason that
<br>&gt; several #add: to the repository inside a transaction could not be<br>&gt; actually saved in the files and keeps in memory.<br>&gt;<br>&gt; Thanks in advance.<br>&gt; Norberto<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">http://lists.squeakfoundation.org/mailman/listinfo/magma
</a><br>&gt;<br></blockquote></div><br>