Jump to content

Gradle Startup Error "Could not reserve enough space for for object heap"


WRDorval

Recommended Posts

So I'm trying to mod minecraft 1.15.2 and but I can't seem to run the gradle build as it can't find the RAM to initialise the JVM. I played around with the gradle.properties file and it can only start when I allocate 1.2GB or lower despite having 9GB free of 16GB. I am 99% percent sure I successfully switched over to the 64bit jdk1.8.0._261 so I really don't know what could be causing the issue. I've attached screenshots of my user path, system path, aand the error message.
here's the result of for java -version

C:\dev\minecraft\Forge Test>java -version
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

C:\dev\minecraft\Forge Test>javac -version
javac 1.8.0_261
ย 

system path.png

user path.png

failed to get object heap.png

Link to comment
Share on other sites

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.