Bug Heap space error

Discussion in 'Developer Support' started by Qosmiof2, Apr 4, 2016.

  1. Qosmiof2

    Qosmiof2 Qosidog3 - I write bots not tragedies.

    Joined:
    Aug 5, 2014
    Messages:
    2,263
    Likes Received:
    667
    Code (Text):
    1.  
    2. Exception in thread "Bot-QualityDivination" java.lang.OutOfMemoryError: Java hea
    3. p space
    4.        at java.util.HashMap.newNode(HashMap.java:1734)
    5.        at java.util.HashMap.putVal(HashMap.java:630)
    6.        at java.util.HashMap.put(HashMap.java:611)
    7.        at nul.IIiIIIiIiiii.byte(skb:224)
    8.        at nul.iiIiIIiIiiII.byte(rdb:240)
    9.        at nul.iiIiIIiIiiII.byte(rdb:99)
    10.        at nul.IIiIIIiIIiii.byte(rdb:269)
    11.        at nul.IiIiIIiiiIiI.byte(jib:75)
    12.        at nul.IiiiIIiiiiII.byte(ehb:28)
    13.        at nul.IiIiIIiiiIiI.byte(jib:207)
    14.        at nul.IiiiiIiIIIIi.byte(ggb:198)
    15.        at nul.IIIiiIiIIiii.byte(etb:193)
    16.        at com.runemate.game.api.hybrid.entities.definitions.GameObjectDefinitio
    17. n.get(ryb:105)
    18.        at nul.iIiIiIiiIiiI.getDefinition(nqb:276)
    19.        at com.runemate.game.api.hybrid.queries.GameObjectQueryBuilder.accepts(z
    20. gc:4)
    21.        at com.runemate.game.api.hybrid.queries.GameObjectQueryBuilder.accepts(z
    22. gc:15)
    23.        at com.runemate.game.api.hybrid.queries.QueryBuilder$1.test(sqb:254)
    24.        at java.util.ArrayList.removeIf(ArrayList.java:1405)
    25.        at com.runemate.game.api.hybrid.queries.QueryBuilder.results(sqb:42)
    26.        at com.runemate.qosmiof2.divination.Divination.onLoop(Divination.java:11
    27. 5)
    28.        at com.runemate.game.api.script.framework.LoopingScript.run(xob:269)
    29.        at com.runemate.game.api.script.framework.AbstractScript.start(dub:266)
    30.        at nul.iiiiiIiIIiIi.run(ggc:39)
    Line #115:
    Code (Text):
    1.  
    2.   GameObject rift = GameObjects.newQuery().names("Energy Rift", "Energy rift").actions("Convert memories").results().nearest();
    --- Double Post Merged, Apr 4, 2016, Original Post Date: Apr 4, 2016 ---
    @Cloud

     
  2. Best Answer:
    Post #4 by Cloud, Apr 6, 2016
  3. Cloud

    Joined:
    Jul 28, 2013
    Messages:
    2,555
    Likes Received:
    922
    If this occurs again then please post the new stack trace along with the runemate version you were using when this happened. The alternative solution is to allocate more memory to your jvm.
     
  4. Qosmiof2

    Qosmiof2 Qosidog3 - I write bots not tragedies.

    Joined:
    Aug 5, 2014
    Messages:
    2,263
    Likes Received:
    667
    How can i do that via bat?
     
  5. Cloud

    Joined:
    Jul 28, 2013
    Messages:
    2,555
    Likes Received:
    922
    -Xmx2048m would allocate 2gb, place that directly before your -jar argument
     
    Qosmiof2 likes this.
  6. Qosmiof2

    Qosmiof2 Qosidog3 - I write bots not tragedies.

    Joined:
    Aug 5, 2014
    Messages:
    2,263
    Likes Received:
    667
    Thanks
     
  7. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,557
    Likes Received:
    1,072
    Unmarked as resolved. Allocating more RAM is not an appropriate solution for consumers.
     

Share This Page

Loading...