Question How to increase memory allocated????

Discussion in 'Client & Site Support' started by Azure, May 10, 2016.

  1. Atleast not that the search button could point me in this direction, and it wasn't in the common issues thread so idfk. If someone does know where I can find this information.... Instead of wasting valuable seconds of your life to type the words telling me to look, please just copy paste the known link.

    Anyway my issue, is the bot running out of memory within an hour of use. Thank you in advanced to anyone kind enough to point me to the correct direction to resolve this error.

    ava.lang.OutOfMemoryError: Java heap space
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(
    at java.lang.Class.getDeclaredMethod(
    at java.io_ObjectStreamClass.getPrivateMethod(
    at java.io_ObjectStreamClass.access$1700(
    at java.io_ObjectStreamClass$
    at java.io_ObjectStreamClass$
    at Method)
    at java.io_ObjectStreamClass.<init>(
    at java.io_ObjectStreamClass.lookup(
    at java.io_ObjectOutputStream.writeObject0(
    at java.io_ObjectOutputStream.writeObject(
    at sun.rmi.server.UnicastRef.marshalValue(
    at sun.rmi.server.UnicastRef.invoke(
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(
    at com.sun.proxy.$Proxy7.int32(Unknown Source)
    at nul.IiIiIIiIIiiI.catch(fgc:144)
    at nul.iIiiIIiIiiIi.catch(etb:98)
    at bot.cOM7.if(jc:153)
    at bot.COm8.if(ud:243)
    at bot.COm8$$Lambda$1077/26541834.accept(Unknown Source)
    at java.util.Iterator.forEachRemaining(
    at java.util.Spliterators$IteratorSpliterator.forEachRemaining(
  2. What bots are you using? Does this happen on all bots you try?

    Could you also post your system specifications so we can help you better.
  3. kaze im not using a toaster. And it particularly happens when using abyss camper, I asked Aria and she recommended I increase the ram to runemate thats all I would really like to do. but im using

    Core i7 5720q mobile chip
    24gb 1600 ram
    gtx 980m
    1tb ssd etc etc im sure you get the picture of this laptop.
    and running windows 10, mostly everything is updated firmware wise.
    Updated to latest java as well, just need to know how to increase the ram allocation manually thanks :)
  4. You can increase the max heap size using the -Xmx VM argument. The only issue is that you most probably can only specify up to 1300M due to the fact you need to use a 32bit JRE
  5. So the fact that im using a 64 bit machine screws the heap size to only being able to go to 1300?
  6. Your machine doesn't matter, we're limited to a 32bit JRE because that's what the Runescape client uses.

Share This Page