Jump to content

Recommended Posts

Posted

I am new to Forge and I am attempting to set it up in order to start creating mods. However, I encountered an error that told me it could not reserve enough space for an object heap, as well as something concerning daemon.

  • Solutions I've tried:
    • I found that this may be related to ram, so I attempted boosting my ram with a thumbdrive to no success.
    • Editing the gradle.properties file
    • Deleting everything and creating it again.

I was ready to give up, but then I found out that forge for 1.7.2 was working just fine using the same steps, and that I could probably make 1.7.2 mods. 

I am bewildered and in dire need of help. Thank you for your time.

 

Here is what I got from stacktrace:

  Reveal hidden contents

 

Posted

For some reason, it only worked for me when I tried in a new folder, but you have a different error, so it may not work for you

What IDE are you using - there's an alternative method if you're using IntelliJ

Posted (edited)

To me it looks like you need to allocate more RAM to the decompile process or you may need more RAM in your machine. (it looks like it gave up after trying to allocate more than ~3GB).

 

You can also try telling it to use less RAM (in the event that you don't have 3GB available in your machine and can't add any: e.g. a 32 bit OS).

Edited by Draco18s
  • Like 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Thank you very much for your help! I changed gradle.properties and the problem has been resolved. I still get an error when decompiling Mc, but I'm sure I just need to upgrade to Windows 64 bit to unlock my potential ram. 

Posted

Yeah, setting up on a 32 bit OS is dicey at best.

I managed it once having to continuously tweak the ram allocation up and down by increments until it worked (there's two different errors: one says it couldn't allocate the RAM, and you go down in MB, the other said it ran out of heap and you go up in MB).

  • Like 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

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