Jump to content
  • 0

OutOfMemoryError: Java heap space || ComputerCraft: Warning! Failed...errors


Question

Posted

Launcher/pack Version: 2.1.1


Operating System: Not Sure, Its beastnode.


Version of Java: Not sure, thinking 7


Description of Problem: Server keeps going out of memory from Computer Craft. This happens like twice in 24 hours every day. Also I have this patch to my server for Computer Craft.

http://forums.technicpack.net/index.php/topic,2804.0.html


Error Message:

2012-05-11 10:58:26 [sEVERE] Exception in thread "Listen thread" 

2012-05-11 10:58:27 [iNFO] ComputerCraft: Warning! Failed to abort a Computer. Dangling lua thread could cause errors.

2012-05-11 10:58:28 [sEVERE] java.lang.OutOfMemoryError: Java heap space

Link to pastebin of log: http://pastie.org/3895487

3 answers to this question

Recommended Posts

  • 0
Posted

Allow the JVM to use more memory using the -Xmx VM argument. For instance, to allow the JVM to use 1 GB (1024 MB) of memory:

java -Xmx1024m ...

This is easily found by searching your error in google. Common logic would dictate that if you run out of memory you need more of it.

I don't know much about computer craft, I disable it on my server, but it could easily eat a lot of memory given the open LUA nature it has. You might want to make sure someone isn't fucking with you with a strange program.

  • 0
Posted

You may need to pay for more ram/player slots then of your hosted with a minecraft host as they control the ram you can use, you won't be able to edit it yourself, you will need to pay for extra server slots/ram

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...