<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body 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 class="moz-cite-prefix">On 3/18/13 5:09 PM, Herbert K&ouml;nig
      wrote:<br>
    </div>
    <blockquote cite="mid:5147829A.3000106@gmx.net" type="cite">Hi,
      <br>
      <br>
      I'm no expert in crashing the VM so maybe it'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>
      &nbsp;&nbsp;&nbsp; "read the protocol file via feeding its lines into a state
      machine each performed method returns the state for the next line"
      <br>
      &nbsp;&nbsp;&nbsp; |status|
      <br>
      &nbsp;&nbsp;&nbsp; status := #initialHeaders:.
      <br>
      &nbsp;&nbsp;&nbsp; aString linesDo: [:line|
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
  </body>
</html>