Posted April 10, 201411 yr Created a server with a bunch of mods. It loads up fine, I can connect to it from the client, however after a few minutes it throws Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread *** Where *** may different on crashes. I saw Listen thread, Server thread, Connection #1 read thread. I started with -Xmx2G, raised to 3G then 4G, and -XX:MaxPermSize=128m (raised to 256->512), still doing it. The machine have 8gigs of RAM. So I guess one of the mods eating up all the memory, so the question is which one? Any advice how to find it? Disabling them one by one is a little painful. The list of mods: http://pastebin.com/GpGt64r9 FML Log (Only myself playing on the server) 1.6.4 - Latest Forge (9.11.1.965) Java 64bit - 1.7.0_51
April 10, 201411 yr Try to supply next to the Xmx argument the Xms like: -Xms2G -Xmx2G and make sure both have the same value. Tell us if that helps. Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
April 10, 201411 yr Author Still not good. OutOfMemoryError on Listen thread and Server thread after a few minutes. -Xms3G -Xmx3G -XX:MaxPermSize=256m
April 10, 201411 yr Author Yes, but that wasn't me. The server just hangs. I needed to force close it. However I disabled some mods and now the problem is gone. I will re add these later on, and will see which is the bad one.
April 10, 201411 yr Author Well, I spoke too soon. But now, it lasted for more than an hour. FML Log: https://dl.dropboxusercontent.com/u/36121405/ForgeModLoader-server-0.log The last line in the log is "The state engine was in incorrect...." and the memory error came after that.
April 11, 201411 yr Author Removed ProjectRed and Magic Bees mods and the problem was gone. I didn't tested them one-by-one so don't know which one was responsible. No leaks in the log, hours of play without problem. Today I installed The Twilight Forest (which was not installed on the server before). When we created the portal, it immediately started to leak, and crashed after a few minutes. (OutOfMemoryError) Log It is really hard to test this one-by-one when sometimes it seems its okay, but it's not.
April 11, 201411 yr Author The same error happened with two mods? I feel it too suspicious. Can't be another mod and some event from The Twilight Forest triggers the world leak problem in that mod?
April 11, 201411 yr Author Without Bioms O' Plenty, there is no leak with the Twilight Forest. If I readd BoP, the leak come back. Removed everything but BoP, The Twilight Forest and NEI... No leak... I am so confused...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.