Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

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.

  • Author

Still not good.

OutOfMemoryError on Listen thread and Server thread after a few minutes.

-Xms3G -Xmx3G -XX:MaxPermSize=256m

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

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

  • 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?

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.