OutOfMemoryError: Java heap space

  • Hendrik Brummermann

    Hi, please start the client with -XX:+HeapDumpOnOutOfMemoryError -Xmx384m (or even more if you can). It will create a .hprof file on the OutOfMemoryError. Please upload that somewhere and tell us the link.

    The docs.google.com links just show empty pages.

  • Kimmo Rundelin

    Kimmo Rundelin - 2010-09-21

    Looks like TileStore keeps references to tilesets forever. It needs a similar soft hashmap cache as SpriteCache already has.

  • Kimmo Rundelin

    Kimmo Rundelin - 2010-09-21

    I changed TileStore to use soft references. Hopefully that fixes the out of memory errors.

  • Zlatan Momic

    Zlatan Momic - 2010-09-22

    yes, soft references resolved the problem… nice…

  • Hendrik Brummermann

    Yay! This was the very first time since I joined the project years ago that I was able to visit every zone without restarting the client.

    * /script Debuggera.class
    * hi
    * memory



Cancel  Add attachments

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks