Here's the thing, today I downloaded a photo realistic x512 pack and tried to open it with the 1.6.2 Optiforge 859-HD-U-C4 version, the game crashed with Out of memory error. So I changed the JMV arguments, the original was: -Xmx1G -Dfml.ignorePatchDiscrepancies=true And I changed it to: -Xmx2G -Dfml.ignorePatchDiscrepancies=true. But it doesn't work either, Java says "Could Not create the Java Virtual Machine" and the client: "Could not reserve enough space for object heap". Does this means I cannot use that pack? I can't give more RAM to minecraft than 1G?
java.lang.OutOfMemoryError
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at net.minecraft.client.renderer.GLAllocation.func_74524_c(SourceFile:49)
at net.minecraft.client.renderer.GLAllocation.func_74527_f(SourceFile:61)
at shadersmodcore.client.ShadersTex.uploadFrameTexture(ShadersTex.java:901)
at net.minecraft.client.renderer.texture.TextureAtlasSprite.uploadFrameTexture(TextureAtlasSprite.java)
at net.minecraft.client.renderer.texture.TextureAtlasSprite.uploadFrameTexture(TextureAtlasSprite.java:397)
at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:197)
at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:86)
at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(TextureManager.java:80)
at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(TextureManager.java:63)
at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(TextureManager.java:50)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:503)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:806)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at net.minecraft.client.renderer.GLAllocation.func_74524_c(SourceFile:49)
at
Please Help me.
Rollback Post to RevisionRollBack
Praise the modders! Without them, you probably would still using sticks and stones to fight a huge dragon till the end of days.
CPU: Intel Core i5 650 @ 3.20Ghz
GPU: Nvidia GeForce Gt520
RAM: 4Gb
OS: Windows 7 Ultimate, 32 Bits
Minecraft Version: 1.6.2 Optiforge 859-HD-U-C4
Mods: ShadersModCore-v2.0.1-beta17-mc1.6.2-f859-ofuc4
And Here's the report:
---- Minecraft Crash Report ----
// Shall we play a game?
Time: 01/11/13 18:07
Description: Stitching texture atlas
java.lang.OutOfMemoryError
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at net.minecraft.client.renderer.GLAllocation.func_74524_c(SourceFile:49)
at net.minecraft.client.renderer.GLAllocation.func_74527_f(SourceFile:61)
at shadersmodcore.client.ShadersTex.uploadFrameTexture(ShadersTex.java:901)
at net.minecraft.client.renderer.texture.TextureAtlasSprite.uploadFrameTexture(TextureAtlasSprite.java)
at net.minecraft.client.renderer.texture.TextureAtlasSprite.uploadFrameTexture(TextureAtlasSprite.java:397)
at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:197)
at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:86)
at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(TextureManager.java:80)
at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(TextureManager.java:63)
at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(TextureManager.java:50)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:503)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:806)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at net.minecraft.client.renderer.GLAllocation.func_74524_c(SourceFile:49)
at
Please Help me.
Praise the modders!
Without them, you probably would still using sticks and stones to fight a huge dragon till the end of days.
If you're willing, and able, to install 64-bit Windows, and Java 64-bit (ofcourse), your issue with memory allocation might not exist anymore.