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.

Join the conversation

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

Guest
Answer this question...

×   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.

×
×
  • Create New...