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.

[Closed]Unable to create world/java.lang.OutOfMemoryError

Featured Replies

Posted

Made a stupid mistake in a block initialization.

 

So I shifted through Pahimar's modding tutorials, the dev environment seemed pretty good in episode 4, easier than the norm, updating MCP/Forge's similar etc.

 

Everything works fine... except when I've added my mod to the classpath and attempt to generate a world I get a lovely error:

 

So it's running out of memory, but only when my mod's added, I stripped my main mod class down to naught the @Mod interface and the other 'required' components and it still fails on world generation.

 

I've attempted a few ways, well, the ways I know of for adding more memory to eclipse/ the run process:

 

Though I don't seem to be able to assign more than 1gb of ram, but in any case I ran things like FTB/tekkit with around 500mb so it should be fine just generating a 'vanilla world', for all intent and purpose.

 

Thanks,

Zed

 

[Edit] Should be noted I'm using the latest forge build as of last night, though I only updated due to the 'java.lang.OutOfMemoryError' I was already having. '1.5.1-7.7.1.674'

Also try going to eclipse => run => run configurations => vm arguments and setting the ram there (something like

-Xmx2048m -Xms2048m

)

 

  • Author
Adding more directly to 'Run configurations - VM arguments'

That's what I meant by this, but thanks

Guest
This topic is now closed to further replies.

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.