I know on the Mac there&#39;s a limit to image size which is specified IIRC in the plist file. Not sure about other OSes. The only other limit I know about is a 32-bit address space.<div><br></div><div>I&#39;m running Mac OS 10.7.5, Squeak 4.4v12327,  &#39;Squeak3.8.1 of &#39;&#39;28 Aug 2006&#39;&#39; [latest update: #6747] 4.4&#39;<br>
<div><br></div><div>In this configuration, I evaluated this in a workspace, with no problems:</div><div><br></div><div><div>| stuff | stuff := OrderedCollection new.</div><div>1500000 timesRepeat: [ stuff add: &#39;foo&#39; ].</div>
<div><br></div><div>Are your 1.5 million objects significantly larger than &#39;foo&#39;, out of curiosity?</div><div><br></div><div class="gmail_quote">On Mon, Mar 18, 2013 at 4:10 PM, Bob Arning <span dir="ltr">&lt;<a href="mailto:arning315@comcast.net" target="_blank">arning315@comcast.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <font face="Georgia">If you try just allocating one really big
      String or ByteArray equivalent to those 1.5 million objects, say
      600 or 700MB, what happens?<br>
      <br>
      Cheers,<br>
      Bob<br>
      <br>
    </font><div><div class="h5">
    <div>On 3/18/13 5:09 PM, Herbert König
      wrote:<br>
    </div>
    <blockquote type="cite">Hi,
      <br>
      <br>
      I&#39;m no expert in crashing the VM so maybe it&#39;s me doing something
      stupid.
      <br>
      I have a 157 MB semicolon delimited file from which I basically
      want to create 1.5 million objects.
      <br>
      Around 1.37 million I get the attached crash dump. Memory is
      around 530M
      <br>
      Everything works fine if I only read the second half of the file.
      <br>
      I tried croquet.exe -memory: 1024 without success.
      <br>
      <br>
      I read the whole file into a String and before I sprinkled the
      method with debugging aids it looked like:
      <br>
      <br>
      initFrom: aString
      <br>
          &quot;read the protocol file via feeding its lines into a state
      machine each performed method returns the state for the next line&quot;
      <br>
          |status|
      <br>
          status := #initialHeaders:.
      <br>
          aString linesDo: [:line|
      <br>
              status := self perform: status with: line].
      <br>
      <br>
      Latest Cog VM, image updated to 12333.
      <br>
      <br>
      Cheers,
      <br>
      <br>
      Herbert
      <br>
      <br>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre></pre>
    </blockquote>
    <br>
  </div></div></div>

<br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Casey Ransberger
</div></div>