<div dir="ltr">Hi Marcel,<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 3, 2014 at 5:58 AM, Marcel Taeumel <span dir="ltr">&lt;<a href="mailto:marcel.taeumel@student.hpi.uni-potsdam.de" target="_blank">marcel.taeumel@student.hpi.uni-potsdam.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Okay, VM crashed at 992,6 MB. LowSpaceWatcher did not show up. I suspect the<br>
(copying?) GC needing another 1GB to work fine?</blockquote><div><br></div><div>That shouldn&#39;t be the case.  It should be happy with a headroom of a few hundred k.  The crash looks like its a problem with the LowSpaceWatcher, or a problem with the VM not maintaining enough headroom.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I thought that the define<br>
considered the sum of both memory spaces. Am I correct?<br></blockquote><div><br></div><div>That&#39;s right.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Basically, I just constructed a very deep tree structure to consume memory.<br></blockquote><div><br></div><div>Does anything different happen with the standard VM?  It may be that teh define makes no difference.</div><div>
<br></div><div><br></div><div>BTW, the below is a cheap way to consume memory because a byte object contains no pointers and so if faster to scan, compact, etc:</div><div><br></div><div>| them | them := OrderedCollection new. [them addLast: (ByteArray new: 1024*1024*256)] repeat</div>
<div><br></div></div>-- <br>best,<div>Eliot</div>
</div></div>