Menu

#2 Hashmap/ StringBuilder error (Game.HackerFile...)

open
nobody
Game (13)
5
2009-07-10
2009-07-10
No

Game.HackerFile.outputXML(HackerFile.java) java:383

Discussion

  • Joe Zisch

    Joe Zisch - 2009-07-10

    Here is the error log from the console. Note that the _$jrat is from the profiler I was using.

    Finished Saving 900.800.6.002, accounts left to save = 0
    Exception in thread "CheckOutHandler" java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOfRange(Unknown Source)
    at java.lang.String.<init>(Unknown Source)
    at java.lang.StringBuilder.toString(Unknown Source)
    at Game.HackerFile.outputXML_$jrat(HackerFile.java:383)
    at Game.HackerFile.outputXML(HackerFile.java)
    at Game.FileSystem.outputXML_$jrat(FileSystem.java:563)
    at Game.FileSystem.outputXML(FileSystem.java)
    at Game.Computer.outputXML_$jrat(Computer.java:5929)
    at Game.Computer.outputXML(Computer.java)
    at Game.CheckOutHandler.run_$jrat(CheckOutHandler.java:82)
    at Game.CheckOutHandler.run(CheckOutHandler.java)
    at java.lang.Thread.run(Unknown Source)

    The line of code that was the source
    382: if((Content.get(key))!=null)
    383: returnMe+=(""+Content.get(key)).replaceAll("]]>","]]&gt;");

     
  • Joe Zisch

    Joe Zisch - 2009-07-10
    • summary: Hashmap error (Game.HackerFile...) --> Hashmap/ StringBuilder error (Game.HackerFile...)
     

Log in to post a comment.

MongoDB Logo MongoDB