<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Am 08.08.15 um 15:24 schrieb Tapple
      Gao:<br>
    </div>
    <blockquote
      cite="mid:75D14F4D-210D-4945-8738-F4D5E317C581@gmail.com"
      type="cite">I am trying to use Moose to do run graph algorithms on
      data with about 300,000 nodes. This data is map data downloaded
      from OpenStreetMap, and I am trying to analyze it with the
      Moose-Analysis-Graphs package. However, it seems completely unable
      to handle this, partially due to unoptimized algorithms, but
      mostly due to memory limits of the VM or image itself.
      <div class=""><br class="">
      </div>
      <div class="">I am using the vm and image of the moose one-click
        image for mac: <a moz-do-not-send="true"
          href="http://www.moosetechnology.org/#install" class="">http://www.moosetechnology.org/#install</a> .
        I believe this is a pharo vm and image, I don’t know if pharo
        and squeak are still different these days, or if it matters.
        Been out of squeak for a few years</div>
      <div class=""><br class="">
      </div>
      <div class="">This platform is seemingly unable to use more than
        about 500Mb of memory. I watch it in mac’s activity monitor.
        Once it reaches about 450Mb as measured by activity monitor, it
        is spending nearly all it’s time in the garbage collector, (as
        measured by activity monitor’s Sample Process tool). The most
        I’ve seen it eventually reach is 556Mb, after about an hour,
        then it does a hard VM crash (Pharo has quit unexpectedly).</div>
      <div class=""><br class="">
      </div>
      <div class="">Is there a way to remedy this? I tried running the
        image in 4 alternative VM’s:</div>
      <div class="">- The latest pharo mac vm from <a
          moz-do-not-send="true"
          href="http://files.pharo.org/vm/pharo/mac/" class=""><a class="moz-txt-link-freetext" href="http://files.pharo.org/vm/pharo/mac/">http://files.pharo.org/vm/pharo/mac/</a></a> .
        Same issue as above. likely the same vm</div>
      <div class="">- Cocoa Cog vm from <a moz-do-not-send="true"
          href="http://squeakvm.org/mac/" class="">http://squeakvm.org/mac/</a> :
        crashed at startup. could not load image</div>
      <div class="">- Cocoa Stack vm from <a moz-do-not-send="true"
          href="http://squeakvm.org/mac/" class="">http://squeakvm.org/mac/</a> :
        crashed at startup; could not load image</div>
      <div class="">- Carbon Stack vm from <a moz-do-not-send="true"
          href="http://squeakvm.org/mac/" class="">http://squeakvm.org/mac/</a> :
        refused to start</div>
      <div class=""><br class="">
      </div>
      <div class="">Is it possible to allocate more than 500Mb of memory
        to squeak? </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">
</pre>
    </blockquote>
    <font size="+1">The Pharo.app has an info.plist file where you can
      change the value of SqueakMaxHeapSize.<br>
      The default value is 516MB.<br>
      I don't know what the maximum allowed number is. As the Pharo VM
      is 32 Bit I expect that you<br>
      cannot increase it beyond ~3GB.<br>
      In order to break this memory barrier you will have to wait for a
      64 Bit VM (look for Spur development)<br>
      later this year.<br>
      <br>
      Regards<br>
      Andreas<br>
    </font>
  </body>
</html>