<div>Hi Chris, sorry for the delayed reply; </div>
<div>I&#39;m going to test the sample trying to aproximate the depth of my real objects,&nbsp;which could be of 20 levels per object, having 12,000 of them (if you remember from the first mail I´m building these objects one by one collecting the data from a file). Under this scenario, the image growth reach 200Mbytes and it became unstable, so I have to shutdown the image and restart again all the process. I cannot reproduce this scenario with the samples I´ve sent to you, and I think that´s the reason why you haven´t seen the problem we&#39;re experimenting here. 
</div>
<div>Now we´re going to test the sample with the numbers above, and if I can reproduce the behavoir I´ll send to you the results.</div>
<div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Juan Matías.&nbsp;</div></div><br><br>
<div><span class="gmail_quote">On 8/10/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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Juan, I spent some time running your neat test case but it didn&#39;t show<br>me any unreasonable growth.&nbsp;&nbsp;So I then went back to the output you
<br>posted and looked at it in detail.<br><br>Regarding the output you pasted in your previous message:<br><br>=======================================<br>Creating magma repository<br>Opening magma session<br>Image size before creating magma collection: 69851252
<br>Creating magma collection at MagmaMemoryTest<br>--Iteration: 1..5:<br>Image size BEFORE creating test object: 69851252<br>Creating test objects...<br>Image size AFTER creating test object: 69851252<br>Saving 5 next objects from collection to magma collection...
<br>Image size BEFORE Magma cleaning: 85098444<br>Image size AFTER Magma cleaning: 82623944<br>--Iteration: 6..10:<br>Image size BEFORE creating test object: 82623944<br>Creating test objects...<br>Image size AFTER creating test object: 82623944
<br>Saving 5 next objects from collection to magma collection...<br>Image size BEFORE Magma cleaning: 106407888<br>Image size AFTER Magma cleaning: 83066628<br>&nbsp;&nbsp; ...<br>--Iteration: 46..50:<br>Image size BEFORE creating test object: 85159312
<br>Creating test objects...<br>Image size AFTER creating test object: 85159312<br>Saving 5 next objects from collection to magma collection...<br>Image size BEFORE Magma cleaning: 108594588<br>Image size AFTER Magma cleaning: 85183668
<br>==================================<br><br>End of memory at the beginning shows:<br><br>--Iteration: 6..10:<br>Image size BEFORE creating test object: 82623944<br><br>at the end:<br><br>Image size AFTER Magma cleaning: 85183668
<br><br>85183668 -82623944&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;2559724<br><br>So, end-of-memory, through all of the bulk-load operations, needed to<br>advance only 2.5MB through dynamic allocation, etc.&nbsp;&nbsp;Is this<br>unreasonable?<br><br>Further, your output indicates there was only initial mild growth from
<br>the first three iterations.&nbsp;&nbsp;Then, beginning with --Iteration:<br>16..20:, it stayed relatively static at roughly 85MB.<br><br>Am I missing something?<br><br>Regards,<br>Chris<br><br></blockquote></div>