I'm using minecraft forge to include shading mods and packages into my minecraft. But for some reason when I try to launch the game I get this error log:

---- Minecraft Crash Report ----
// Everything's going to plan. No, really, that was supposed to happen.

Time: 10/28/13 3:57 PM
Description: Registering texture

java.lang.OutOfMemoryError: Java heap space
    at net.minecraft.client.renderer.texture.TextureAtlasSprite.func_130100_a(TextureAtlasSprite.java:203)
    at net.minecraft.client.renderer.texture.TextureAtlasSprite.load(TextureAtlasSprite.java:313)
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:80)
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:57)
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:69)
    at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:133)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:99)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:87)
    at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:543)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:265)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:509)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
    at net.minecraft.client.main.Main.main(SourceFile:101)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

And a lot more, but I just included the summary (there's also the full error log, if needed I will post it)

My specs:

-Windows 8, 64-bit machine. I7-3630QM processor, 16G Ram, NVIDIA GForce GTX670MX -Java 7 64-bit. (Tried Java 6, didn't work) -Minecraft version 1.6.4


There is no need to create a .bat file. Open your Minecraft launcher click on "Edit Profile. In the new window at the bottom it says JVM Arguments check the box next to it then type the values there. I have 6GB of RAM, so I use -Xmx3072M.


Use the mojang launcher and give it more ram with "Edit profile". Where it says JVM Arguments enter -Xmx[amount of MBs RAM]M. You have 16GB RAM so I would use 4096 for the variable.


Try allocating more memory by using Launch4J and try playing with it to add the natives.

Not the answer you're looking for? Browse other questions tagged or ask your own question.