Jump to content

"java heap space"


fstyle
 Share

Recommended Posts

For some reason I keep on having this error after like 1.5 - 2 hrs of running this script. The reason I didn't post this in the client bugs & suggestions forum is that I dont think this is a problem with the client. I didnt have this problem when running my other scripts.

Maybe it's on the script yea, but it seems that I'm the only one complaining about this on this script. This still occurs even if I ran 2 bots on a 5cpu 8gb ram vps. I'm having this problem on all 3 of my VPSs (2 debian7, one win10).

Had this problem since last week until today(running 2.4.99)

Currently I only have tried reinstalling java. (64bit java on a 64bit win10 vps)

Update(nov 19): tried on another two different devices. Same problem. Wont last more than 1hr30min

Hopefully someone can give me info about this. I have pmed the script creator but itseems that he hasnt been online alot since a few days.

EDIT: I should have posted this on the general help section :facepalm:

[INFO][Bot #1][11/13 02:04:50 AM]: After BANk[INFO][Bot #1][11/13 02:05:52 AM]: After BANk[INFO][Bot #1][11/13 02:05:58 AM]: After BANk[INFO][Bot #1][11/13 02:06:02 AM]: After BANk[INFO][Bot #1][11/13 02:06:03 AM]: After BANk[INFO][Bot #1][11/13 02:06:05 AM]: After BANk[INFO][Bot #1][11/13 02:06:07 AM]: After BANk[INFO][Bot #1][11/13 02:06:59 AM]: After BANk[INFO][Bot #1][11/13 02:07:06 AM]: After BANk[INFO][Bot #1][11/13 02:07:08 AM]: After BANk[INFO][Bot #1][11/13 02:07:11 AM]: After BANk[INFO][Bot #1][11/13 02:08:00 AM]: After BANk[INFO][Bot #1][11/13 02:08:10 AM]: After BANk[INFO][Bot #1][11/13 02:08:12 AM]: After BANk[INFO][Bot #1][11/13 02:08:14 AM]: After BANk[INFO][Bot #1][11/13 02:08:16 AM]: After BANk[INFO][Bot #1][11/13 02:09:08 AM]: After BANk[INFO][Bot #1][11/13 02:09:19 AM]: After BANk[INFO][Bot #1][11/13 02:09:21 AM]: After BANk[INFO][Bot #1][11/13 02:09:22 AM]: After BANk[INFO][Bot #1][11/13 02:09:25 AM]: After BANk[INFO][Bot #1][11/13 02:10:28 AM]: After BANk[INFO][Bot #1][11/13 02:10:29 AM]: After BANk[INFO][Bot #1][11/13 02:10:34 AM]: After BANk[INFO][Bot #1][11/13 02:10:37 AM]: After BANk[INFO][Bot #1][11/13 02:10:39 AM]: After BANk[INFO][Bot #1][11/13 02:11:49 AM]: After BANk[INFO][Bot #1][11/13 02:11:58 AM]: After BANk[INFO][Bot #1][11/13 02:12:02 AM]: After BANk[INFO][Bot #1][11/13 02:12:04 AM]: After BANk[INFO][Bot #1][11/13 02:13:34 AM]: After BANk[INFO][Bot #1][11/13 02:13:38 AM]: After BANk[INFO][Bot #1][11/13 02:13:41 AM]: After BANk[INFO][Bot #1][11/13 02:14:46 AM]: After BANk[INFO][Bot #1][11/13 02:14:52 AM]: After BANk[INFO][Bot #1][11/13 02:14:56 AM]: After BANk[INFO][Bot #1][11/13 02:15:00 AM]: After BANk[INFO][Bot #1][11/13 02:15:05 AM]: After BANk[INFO][Bot #1][11/13 02:16:10 AM]: After BANk[INFO][Bot #1][11/13 02:16:14 AM]: After BANk[INFO][Bot #1][11/13 02:16:19 AM]: After BANk[INFO][Bot #1][11/13 02:16:23 AM]: After BANk[INFO][Bot #1][11/13 02:17:28 AM]: After BANk[INFO][Bot #1][11/13 02:17:29 AM]: After BANk[INFO][Bot #1][11/13 02:17:31 AM]: After BANk[INFO][Bot #1][11/13 02:17:33 AM]: After BANk[INFO][Bot #1][11/13 02:18:29 AM]: After BANk[INFO][Bot #1][11/13 02:18:37 AM]: After BANk[INFO][Bot #1][11/13 02:18:40 AM]: After BANk[INFO][Bot #1][11/13 02:20:40 AM]: Started random solver : BreakManager[INFO][Bot #1][11/13 02:23:48 AM]: Random solver exited : BreakManager[INFO][Bot #1][11/13 02:23:50 AM]: Started random solver : Auto Login[INFO][Bot #1][11/13 02:23:55 AM]: Random solver exited : Auto Login[INFO][Bot #1][11/13 02:24:02 AM]: Started random solver : Welcome Screen[INFO][Bot #1][11/13 02:24:05 AM]: Random solver exited : Welcome Screen[INFO][Bot #1][11/13 02:24:09 AM]: After BANk[INFO][Bot #1][11/13 02:24:12 AM]: After BANk[INFO][Bot #1][11/13 02:25:19 AM]: After BANk[INFO][Bot #1][11/13 02:25:26 AM]: After BANk[INFO][Bot #1][11/13 02:25:28 AM]: After BANk[INFO][Bot #1][11/13 02:25:33 AM]: After BANk[INFO][Bot #1][11/13 02:26:09 AM]: After BANk[INFO][Bot #1][11/13 02:26:13 AM]: After BANk[INFO][Bot #1][11/13 02:26:15 AM]: After BANk[INFO][Bot #1][11/13 02:27:00 AM]: After BANk[INFO][Bot #1][11/13 02:27:05 AM]: After BANk[INFO][Bot #1][11/13 02:27:08 AM]: After BANk[INFO][Bot #1][11/13 02:27:10 AM]: After BANk[INFO][Bot #1][11/13 02:28:11 AM]: After BANk[INFO][Bot #1][11/13 02:28:14 AM]: After BANk[INFO][Bot #1][11/13 02:28:16 AM]: After BANk[INFO][Bot #1][11/13 02:29:06 AM]: After BANk[INFO][Bot #1][11/13 02:29:11 AM]: After BANk[INFO][Bot #1][11/13 02:29:14 AM]: After BANk[ERROR][11/13 02:29:56 AM]: Uncaught exception!java.lang.OutOfMemoryError: Java heap space	at java.awt.image.DataBufferInt.<init>(Unknown Source)	at java.awt.image.Raster.createPackedRaster(Unknown Source)	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)	at java.awt.image.BufferedImage.<init>(Unknown Source)	at sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source)	at sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source)	at sun.java2d.loops.MaskBlit$General.MaskBlit(Unknown Source)	at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Unknown Source)	at sun.java2d.pipe.DrawImage.blitSurfaceData(Unknown Source)	at sun.java2d.pipe.DrawImage.renderImageCopy(Unknown Source)	at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)	at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)	at sun.java2d.pipe.ValidatePipe.copyImage(Unknown Source)	at sun.java2d.SunGraphics2D.drawImage(Unknown Source)	at sun.java2d.SunGraphics2D.drawImage(Unknown Source)	at org.khal.blastfurnace.c.AUx.H(m:34)	at org.khal.blastfurnace.KhalBlastFurnace.onPaint(bb:151)	at org.osbot.rs07.canvas.WrappedCanvas.IiIiIiiiiiiI(uk:152)	at org.osbot.rs07.canvas.WrappedCanvas.getGraphics(uk:239)	at client.d(client.java:2010)	at em.py(em.java:269)	at em.run(em.java:219)	at java.lang.Thread.run(Unknown Source)[ERROR][11/13 02:30:10 AM]: Uncaught exception!java.lang.OutOfMemoryError: Java heap space	at java.lang.Throwable.getStackTraceElement(Native Method)	at java.lang.Throwable.getOurStackTrace(Unknown Source)	at java.lang.Throwable.getStackTrace(Unknown Source)	at java.lang.Thread.getStackTrace(Unknown Source)	at org.osbot.BotApplication.IiIiiiiIiIII(ix:42)	at org.osbot.BotApplication.iiIIiiiIiIII(ix:43)	at org.osbot.EB.run(zg:107)	at java.awt.event.InvocationEvent.dispatch(Unknown Source)	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)	at java.awt.EventQueue.access$500(Unknown Source)	at java.awt.EventQueue$3.run(Unknown Source)	at java.awt.EventQueue$3.run(Unknown Source)	at java.security.AccessController.doPrivileged(Native Method)[ERROR][Bot #1][11/13 02:30:23 AM]: Error in bot executor!java.lang.OutOfMemoryError: Java heap space[ERROR][Bot #1][11/13 02:30:27 AM]: Caught thread death in script executor. Restarting now![ERROR][11/13 02:30:29 AM]: Uncaught exception![ERROR][11/13 02:30:31 AM]: Uncaught exception![ERROR][11/13 02:30:36 AM]: Uncaught exception![ERROR][11/13 02:30:47 AM]: Uncaught exception!java.lang.OutOfMemoryError: Java heap space[ERROR][11/13 02:39:45 AM]: Uncaught exception!java.lang.OutOfMemoryError: Java heap space[ERROR][11/13 02:42:52 AM]: Uncaught exception!java.lang.OutOfMemoryError: Java heap space[ERROR][11/13 02:43:19 AM]: Uncaught exception!java.lang.OutOfMemoryError: Java heap space
Edited by fstyle
  • Like 1
Link to comment
Share on other sites

script is probably not written well and is using way too much memory - is it an SDN script?

Yes it is an sdn script.

Badly written? Possible. But why is it that it seems like im the only one having this problem. Was talking to one of the users of this script earlier, he didn't have any problems with it.

Link to comment
Share on other sites

Yes it is an sdn script.

Badly written? Possible. But why is it that it seems like im the only one having this problem. Was talking to one of the users of this script earlier, he didn't have any problems with it.

 

i'd try re-running it if i were you but that error that you got is a very bad warning sign that something is wrong with the scripts - java has a lot of precautions to make sure that does not happen, and it's very easy to ensure that it doesn't. if you're continuously getting the error, i'd probably stop using it.

Link to comment
Share on other sites

i'd try re-running it if i were you but that error that you got is a very bad warning sign that something is wrong with the scripts - java has a lot of precautions to make sure that does not happen, and it's very easy to ensure that it doesn't. if you're continuously getting the error, i'd probably stop using it.

 

I've tried re-running this script alot of times already.

I'll just currently wait for the replies from the scripter.

 

Are you attempting to run 2 bots in 1 client?

No. Always have been doing 1 client 1 bot.

Link to comment
Share on other sites

Out of memory.

I've experienced similar problems when I had webWalk in my scripts but once I switched to pathWalking I've had no problems. WebWalker would shoot my memory up to double what it started as and wouldn't drop back down

This is probably what is causing it

http://osbot.org/forum/topic/102835-help-with-web-walker-memory-usage/

  • Like 1
Link to comment
Share on other sites

Out of memory.

I've experienced similar problems when I had webWalk in my scripts but once I switched to pathWalking I've had no problems. WebWalker would shoot my memory up to double what it started as and wouldn't drop back down

This is probably what is causing it

http://osbot.org/forum/topic/102835-help-with-web-walker-memory-usage/

 

 

Listen to Juggles. Ive had the same issue in the past as well. What Juggles has said is 100% accurate

  • Like 1
Link to comment
Share on other sites

Unfortunately the script doesn't use the webwalker ...

 

 

You don't got GE support do you???  Even if you did Im sure you could write a path/area to g.e in 2mins instead of using web walking lol.

fstyle ur gnna have to talk with khaleesi on skype or have him teamview so he can figure out whats wrong :o

Link to comment
Share on other sites

You don't got GE support do you???  Even if you did Im sure you could write a path/area to g.e in 2mins instead of using web walking lol.

fstyle ur gnna have to talk with khaleesi on skype or have him teamview so he can figure out whats wrong ohmy.png

 

Like I said: the script is not using the webwalker smile.png

The heap size is too small on the osbot client, that's the only issue, not much to say about it really.

You can manually set a higher RAM usage on the cmd line

Link to comment
Share on other sites

Like I said: the script is not using the webwalker smile.png

The heap size is too small on the osbot client, that's the only issue, not much to say about it really.

You can manually set a higher RAM usage on the cmd line

Yo. I tried using 1024 for every client, which should be big enough. Yea instead of 1.5hrs it lasted around 3hours and I ended up having 1.1gb of memory on each client and once again frozen. For some reason it doesn't sort of like clear its cache or whatever. :s

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...