More Info: How to Fix java.lang.OutOfMemoryError in Minecraft
Need Help? Click here for more information on How to Fix java.lang.OutOfMemoryError in Minecraft.
Need Help? Click here for more information on How to Fix java.lang.OutOfMemoryError in Minecraft.
My minecraft crashes every time I try to play the pixelmon mod. I have tried to allocate more RAM, but it just gives me an error every time I do that. (Maybe I'm doing it improperly, idk?)
I have run the mincraft version by itself, and the forge version with no mods by itself. Unmodded Minecraft 1.8.9 works fine, and Forge works fine until I try to make a new world.
I'm using Pixelmon-1.8.9-4.2.2-universal for Minecraft 1.8.9, with the recommended version of forge for this version.
My computer runs Windows 8.1, 64-bit.
Here's the crash report:
---- Minecraft Crash Report ----
WARNING: coremods are present:
Java8CheckerCoremod (Pixelmon-1.8.9-4.2.2-universal.jar)
Contact their authors BEFORE contacting forge
// Ooh. Shiny.
Time: 4/14/16 10:13 PM
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderException: java.lang.OutOfMemoryError: Java heap space
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:739)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:495)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329)
at net.minecraft.client.main.Main.main(SourceFile:124)
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:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.String.substring(Unknown Source)
at java.lang.String.subSequence(Unknown Source)
at java.util.regex.Pattern.split(Unknown Source)
at java.util.regex.Pattern.split(Unknown Source)
at com.pixelmonmod.pixelmon.client.models.smd.SmdAnimation.startParsingAnimation(SmdAnimation.java:91)
at com.pixelmonmod.pixelmon.client.models.smd.SmdAnimation.loadSmdAnim(SmdAnimation.java:62)
at com.pixelmonmod.pixelmon.client.models.smd.SmdAnimation.<init>(SmdAnimation.java:30)
at com.pixelmonmod.pixelmon.client.models.smd.ValveStudioModel.loadQC(ValveStudioModel.java:92)
at com.pixelmonmod.pixelmon.client.models.smd.ValveStudioModel.<init>(ValveStudioModel.java:55)
at com.pixelmonmod.pixelmon.client.models.smd.ValveStudioModelLoader.loadModel(ValveStudioModelLoader.java:72)
at com.pixelmonmod.pixelmon.enums.EnumCustomModel.preloadModels(EnumCustomModel.java:277)
at com.pixelmonmod.pixelmon.client.ClientProxy.registerRenderers(ClientProxy.java:209)
at com.pixelmonmod.pixelmon.Pixelmon.init(Pixelmon.java:132)
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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.8.9
Operating System: Windows 8.1 (x86) version 6.3
Java Version: 1.8.0_77, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 3265536 bytes (3 MB) / 523501568 bytes (499 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.19 Powered by Forge 11.15.1.1722 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHI mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHI FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.1722.jar)
UCHI Forge{11.15.1.1722} [Minecraft Forge] (forge-1.8.9-11.15.1.1722.jar)
UCHE pixelmon{4.2.2} [Pixelmon] (Pixelmon-1.8.9-4.2.2-universal.jar)
Loaded coremods (and transformers):
Java8CheckerCoremod (Pixelmon-1.8.9-4.2.2-universal.jar)
GL info: ' Vendor: 'Intel' Version: '4.2.0 - Build 10.18.10.3496' Renderer: 'Intel(R) HD Graphics 4400'
You're still not giving it enough RAM.
Giving it 1G or 2G should work just fine.
How do u give RAM???