sbh1311 Posted August 5, 2019 Share Posted August 5, 2019 I downloaded forge 1.12.2 and I wanted to do gradlew setupDecompWorkspace I changed the process. org.gradle.jvmargs=-Xmx2G > process org.gradle.jvmargs=-Xmx1G and everything seems to work until its hits :decompileMc then its stops I saw to fix that i need to add more ram but when i update it back to 2G its wont work at all (Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap) my pc got 8gb of ram can someone help me out? Quote Link to comment Share on other sites More sharing options...
sbh1311 Posted August 5, 2019 Author Share Posted August 5, 2019 @diesieben07 I'm using 64bit as much as I know openjdk version "1.8.0_212" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode) is that mean 64bit? Quote Link to comment Share on other sites More sharing options...
sbh1311 Posted August 5, 2019 Author Share Posted August 5, 2019 1 minute ago, diesieben07 said: Is gradle using that JDK? Do you have enough RAM available? how do I know if gradle using that JDK ? and I have 8gb of ram so I think that enough? Quote Link to comment Share on other sites More sharing options...
sbh1311 Posted August 5, 2019 Author Share Posted August 5, 2019 10 minutes ago, diesieben07 said: https://stackoverflow.com/questions/18487406/how-do-i-tell-gradle-to-use-specific-jdk-version i updated it and added JAVA_HOME_FOR_MY_PROJECT but its still wont work if i put 2G T.T Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.