Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Heap space error

I've been called a god before.
Joined
Aug 5, 2014
Messages
3,212
Code:
Exception in thread "Bot-QualityDivination" java.lang.OutOfMemoryError: Java hea
p space
       at java.util.HashMap.newNode(HashMap.java:1734)
       at java.util.HashMap.putVal(HashMap.java:630)
       at java.util.HashMap.put(HashMap.java:611)
       at nul.IIiIIIiIiiii.byte(skb:224)
       at nul.iiIiIIiIiiII.byte(rdb:240)
       at nul.iiIiIIiIiiII.byte(rdb:99)
       at nul.IIiIIIiIIiii.byte(rdb:269)
       at nul.IiIiIIiiiIiI.byte(jib:75)
       at nul.IiiiIIiiiiII.byte(ehb:28)
       at nul.IiIiIIiiiIiI.byte(jib:207)
       at nul.IiiiiIiIIIIi.byte(ggb:198)
       at nul.IIIiiIiIIiii.byte(etb:193)
       at com.runemate.game.api.hybrid.entities.definitions.GameObjectDefinitio
n.get(ryb:105)
       at nul.iIiIiIiiIiiI.getDefinition(nqb:276)
       at com.runemate.game.api.hybrid.queries.GameObjectQueryBuilder.accepts(z
gc:4)
       at com.runemate.game.api.hybrid.queries.GameObjectQueryBuilder.accepts(z
gc:15)
       at com.runemate.game.api.hybrid.queries.QueryBuilder$1.test(sqb:254)
       at java.util.ArrayList.removeIf(ArrayList.java:1405)
       at com.runemate.game.api.hybrid.queries.QueryBuilder.results(sqb:42)
       at com.runemate.qosmiof2.divination.Divination.onLoop(Divination.java:11
5)
       at com.runemate.game.api.script.framework.LoopingScript.run(xob:269)
       at com.runemate.game.api.script.framework.AbstractScript.start(dub:266)
       at nul.iiiiiIiIIiIi.run(ggc:39)

Line #115:
Code:
  GameObject rift = GameObjects.newQuery().names("Energy Rift", "Energy rift").actions("Convert memories").results().nearest();
 
@Cloud
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
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.
 
I've been called a god before.
Joined
Aug 5, 2014
Messages
3,212
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.
How can i do that via bat?
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,053
Unmarked as resolved. Allocating more RAM is not an appropriate solution for consumers.
 
Top