This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Draradech's profile picture

[1.4.2][SMP/FTB][CC v1.46] All computers / turtles frozen | OutOfMemory

Started by Draradech, 17 January 2013 - 10:38 PM
Draradech #1
Posted 17 January 2013 - 11:38 PM
When I came back to my world yesterday, my computer and my turtles were frozen (I had 2 mining turtles near world anchors doing their thing, and a computer at my base counting their dropoffs (via ender chests)).
That setup has worked flawlessly for weeks until now, so I don't think its my code. I also have no way to reproduce this. However, the server is still in this state, if that helps with debugging somehow?

Relevant passage from forge log (no other error visible, everything but computercraft continues to work normally):

2013-01-16 11:36:38 [INFO] [STDERR] Exception in thread "Thread-8" java.lang.OutOfMemoryError: unable to create new native thread
2013-01-16 11:36:38 [INFO] [STDERR]	 at java.lang.Thread.start0(Native Method)
2013-01-16 11:36:38 [INFO] [STDERR]	 at java.lang.Thread.start(Thread.java:691)
2013-01-16 11:36:38 [INFO] [STDERR]	 at dan200.computer.core.ComputerThread$1.run(ComputerThread.java:77)
2013-01-16 11:36:38 [INFO] [STDERR]	 at java.lang.Thread.run(Thread.java:722)
Cloudy #2
Posted 18 January 2013 - 01:41 AM
Have you tried restarting the server?
Draradech #3
Posted 18 January 2013 - 03:28 AM
Not yet. I suspect everything works fine again after restart. I thought the current state may be useful for debugging somehow? Maybe not.
Cloudy #4
Posted 18 January 2013 - 03:36 AM
Nah, that error says it can't create a thread. LuaJ is thread hungry bizarrely and stupidly. This will be better in the next version.