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.
Well everything started trying to download Optifine, it appeared this message (java.lang.OutOfMemoryError: Java heap space). I did a lot of stuff to fix this... I did the following stuff:
-Go to Computer > Properties > Advanced System Settings > Advanced > Performance > Settings > Advanced > Virtual Memory > Change... >Then I uncheck the Automatically manage paging file... > Then I clicked the "C:" I checked custom size and I put on Initial size and Maximum size 5000 MB. Basically I "added" RAM to my CPU. I founded this with this video:
So after I did that I got this message: Could not create the java virtual machine
And I add a system variable with the following stuff:
_JAVA_OPTIONS
-Xmx512m
Here is the video where I founded it
And I gave up and I deleted Optifine of the mods folder. I put my mods back to its folder and now I get the same problem java.lang.OutOfMemoryError: Java heap space
HERE IS THE FULL CRASH REPORT:
---- Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]
Time: 7/22/14 7:50 PM
Description: Registering texture
java.lang.OutOfMemoryError: Java heap space
at net.minecraft.client.renderer.texture.TextureAtlasSprite.func_147964_a(TextureAtlasSprite.java:206)
at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:169)
at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90)
at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72)
at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61)
at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)
at net.minecraft.client.main.Main.main(SourceFile:103)
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:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.client.renderer.texture.TextureAtlasSprite.func_147964_a(TextureAtlasSprite.java:206)
at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:169)
at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90)
-- Resource location being registered --
Details:
Resource location: minecraft:textures/atlas/blocks.png
Texture object class: net.minecraft.client.renderer.texture.TextureMap
Stacktrace:
at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72)
at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61)
at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)
at net.minecraft.client.main.Main.main(SourceFile:103)
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:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.7.0_65, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
Memory: 1373648 bytes (1 MB) / 518979584 bytes (494 MB) up to 518979584 bytes (494 MB)
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -Xmx512m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.03 FML v7.2.217.1147 Minecraft Forge 10.12.2.1147 3 mods loaded, 3 mods active
mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{7.2.217.1147} [Forge Mod Loader] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized
Forge{10.12.2.1147} [Minecraft Forge] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized
Launched Version: 1.7.2-Forge10.12.2.1147
LWJGL: 2.9.0
OpenGL: Intel(R) G41 Express Chipset GL version 2.1.0 - Build 8.15.10.2226, Intel
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: [Sphax PureBDcraft 512x MC17.zip]
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Anisotropic Filtering: Off (1)
HELP PELASE!
Thanks for reading...
Virtual memory will do absolutely nothing to solve your issue, as the JVM is limiting memory usage it's self, not the system. I would also advise you to read this article by Microsoft. You can revert that unnecessary page file edit.
The "_JAVA_OPTIONS" variable is a powerful Environment Variable that will run all Java applications with those parameters. You seem to have allocated 512MB also, which is useless as that is also Minecraft's default allocation. Remove that Environment Variable, as it does not help you at all (if anything, it is forcing you to use that allocation).
The crash you are getting is to do with the Resource Pack you are running. "Sphax PureBDcraft 512x MC17" -- that is a 512x resolution resource pack, which will require a very powerful computer to even handle. Your current integrated graphics chipset is also low-end and just barley makes Minecraft's minimum requirements.
After you have done all that, please remove the resource pack, and Minecraft should be able to properly function.
Thanks man c:
But, like Extreme Heat said, your GPU is weak, so a 512x512 pack would be extremely laggy. Even a 256x256 pack would probably be laggy.
Go to http://bdcraft.net/purebdcraft-minecraft and choose a lower-resolution pack.