Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [1.7.2 10.12.0.1024] OutOfMemoryError: Java heap space; while running :deobf
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 0
Gloombone

[1.7.2 10.12.0.1024] OutOfMemoryError: Java heap space; while running :deobf

By Gloombone, February 8, 2014 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

Gloombone    0

Gloombone

Gloombone    0

  • Tree Puncher
  • Gloombone
  • Members
  • 0
  • 9 posts
Posted February 8, 2014

I am on a mac using the java version that works for that environment e.g. 1.6.0

 

You can see the full log of the terminal here:

https://gist.github.com/lslinnet/3243d53ad082c94d7bbe

 

Additional information:

➜  forge-1.7.2-10.12.0.1024-src  java -version

java version "1.6.0_65"

Java SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)

Java HotSpot 64-Bit Server VM (build 20.65-b04-462, mixed mode)

➜  forge-1.7.2-10.12.0.1024-src  gradle -v

 

------------------------------------------------------------

Gradle 1.10

------------------------------------------------------------

 

Build time:  2013-12-17 09:28:15 UTC

Build number: none

Revision:    36ced393628875ff15575fa03d16c1349ffe8bb6

 

Groovy:      1.8.6

Ant:          Apache Ant version 1.9.2 compiled on July 8 2013

Ivy:          2.2.0

JVM:          1.6.0_65 (Apple Inc. 20.65-b04-462)

OS:          Mac OS X 10.8.5 x86_64

 

 

If you need any additional information please let me know.

 

  • Quote

Share this post


Link to post
Share on other sites

XxxXEclipse7XxxX    4

XxxXEclipse7XxxX

XxxXEclipse7XxxX    4

  • Tree Puncher
  • XxxXEclipse7XxxX
  • Members
  • 4
  • 29 posts
Posted February 8, 2014

what commands did you use in terminal?

  • Quote

Share this post


Link to post
Share on other sites

Gloombone    0

Gloombone

Gloombone    0

  • Tree Puncher
  • Gloombone
  • Members
  • 0
  • 9 posts
Posted February 8, 2014

used "gradle setupDevWorkspace --info --stacktrace"

 

  • Quote

Share this post


Link to post
Share on other sites

Gloombone    0

Gloombone

Gloombone    0

  • Tree Puncher
  • Gloombone
  • Members
  • 0
  • 9 posts
Posted February 8, 2014

Just tested with the latest #1025 build of forge, getting the same error.

  • Quote

Share this post


Link to post
Share on other sites

ganymedes01    2

ganymedes01

ganymedes01    2

  • Tree Puncher
  • ganymedes01
  • Members
  • 2
  • 10 posts
Posted February 8, 2014

Open gradlew on TextEdit and set the heap space to at least 2Gb

 

Around line 11 you'll see this:

DEFAULT_JVM_OPTS=""

 

write this:

DEFAULT_JVM_OPTS="-Xmx2048m"

 

Save, close it and try running it again.

  • Quote

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • BitNet_
      [1.12.2] Exception loading model

      By BitNet_ · Posted 3 minutes ago

      That hasn't worked for me, I still get the model registering error even when adding the code to my build.gradle
    • JMAS
      Recompile mod with newer version of Java?

      By JMAS · Posted 6 minutes ago

      Thank you for your quick and direct response.   After making the changes directed, I now receive the following error: Execution failed for task ':runClient'. > Process 'command 'C:\Program Files\Java\jdk1.8.0_231\bin\java.exe'' finished with non-zero exit value 1    No new debug.log was generated in run/logs. 😕
    • Lea9ue
      .setRepairItem not work

      By Lea9ue · Posted 20 minutes ago

      In your item class you should have something like...   @Override public boolean getIsRepairable(ItemStack toRepair, ItemStack repair) { if (toRepair.getItem().equals("YOUR ITEM") && repair.getItem().equals("WHAT REPAIRS IT")) { return true; } else { return false; } }  
    • Electrodynamite12
      .setRepairItem not work

      By Electrodynamite12 · Posted 27 minutes ago

      I made the ToolMaterial, and i add the .setRepairItem method, announced the ItemStack, where indicated the target item. Maybe i made something wrong? public static Item.ToolMaterial HLOMINITE = EnumHelper.addToolMaterial("another_test:hlominite", 5, 1000, 50.0F, 16.0F, 76).setRepairItem(new ItemStack(ItemsRegister.HLOMINGOT));
    • diesieben07
      [1.12.2] Exception loading model

      By diesieben07 · Posted 1 hour ago

  • Topics

    • BitNet_
      2
      [1.12.2] Exception loading model

      By BitNet_
      Started 8 hours ago

    • JMAS
      6
      Recompile mod with newer version of Java?

      By JMAS
      Started 10 hours ago

    • Electrodynamite12
      1
      .setRepairItem not work

      By Electrodynamite12
      Started 27 minutes ago

    • Hemeroahz
      5
      1.12.2 Crashing Upon Running Forge

      By Hemeroahz
      Started November 27, 2017

    • zhubwat
      9
      Forge not creating version .jar files?

      By zhubwat
      Started January 25, 2016

  • Who's Online (See full list)

    • saxon564
    • BitNet_
    • imacatlolol
    • AJGingy
    • Lordyammer
    • ItzGenes
    • Nuparu00
    • M1ntcraft3r
    • fcelon
    • KolonilGamer
    • Choonster
    • Lea9ue
    • ewew
    • Mag
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [1.7.2 10.12.0.1024] OutOfMemoryError: Java heap space; while running :deobf
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community