Jump to content

Forge crashes due to memory


nicrive

Recommended Posts

I've tried allocating more memory, updating my java, reinstalling both Minecraft and Forge, and disabling my loading screen. Please help! :(

 

---- Minecraft Crash Report ----

 

WARNING: coremods are present:

Contact their authors BEFORE contacting forge

 

// I let you down. Sorry :(

 

Time: 10/23/16 12:40 PM

Description: Initializing game

 

java.lang.OutOfMemoryError: Java heap space

at net.minecraft.client.renderer.texture.TextureAtlasSprite.func_147962_a(TextureAtlasSprite.java:491)

at net.minecraft.client.renderer.texture.TextureAtlasSprite.func_188539_a(TextureAtlasSprite.java:373)

at net.minecraft.client.renderer.texture.TextureMap.func_184397_a(TextureMap.java:460)

at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:330)

at net.minecraft.client.renderer.texture.TextureMap.func_174943_a(TextureMap.java:146)

at net.minecraftforge.client.model.ModelLoader.func_177570_a(ModelLoader.java:155)

at net.minecraft.client.renderer.block.model.ModelManager.func_110549_a(ModelManager.java:28)

at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SimpleReloadableResourceManager.java:132)

at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SimpleReloadableResourceManager.java:113)

at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:755)

at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:340)

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:520)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:351)

at net.minecraft.client.main.Main.main(SourceFile:124)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

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 --

Thread: Client thread

Stacktrace:

at net.minecraft.client.renderer.texture.TextureAtlasSprite.func_147962_a(TextureAtlasSprite.java:491)

at net.minecraft.client.renderer.texture.TextureAtlasSprite.func_188539_a(TextureAtlasSprite.java:373)

at net.minecraft.client.renderer.texture.TextureMap.func_184397_a(TextureMap.java:460)

at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:330)

at net.minecraft.client.renderer.texture.TextureMap.func_174943_a(TextureMap.java:146)

at net.minecraftforge.client.model.ModelLoader.func_177570_a(ModelLoader.java:155)

at net.minecraft.client.renderer.block.model.ModelManager.func_110549_a(ModelManager.java:28)

at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SimpleReloadableResourceManager.java:132)

at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SimpleReloadableResourceManager.java:113)

at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:755)

at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:340)

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:520)

 

-- Initialization --

Details:

Stacktrace:

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:351)

at net.minecraft.client.main.Main.main(SourceFile:124)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

-- System Details --

Details:

Minecraft Version: 1.10.2

Operating System: Windows 10 (amd64) version 10.0

Java Version: 1.8.0_25, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 46656 bytes (0 MB) / 496631808 bytes (473 MB) up to 496631808 bytes (473 MB)

JVM Flags: 7 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn384M -Xmx512m

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP 9.32 Powered by Forge 12.18.2.2107 Optifine OptiFine_1.10.2_HD_U_D1 6 mods loaded, 6 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UCHIJA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)

UCHIJA FML{8.0.99.99} [Forge Mod Loader] (forge-1.10.2-12.18.2.2107.jar)

UCHIJA Forge{12.18.2.2107} [Minecraft Forge] (forge-1.10.2-12.18.2.2107.jar)

UCHIJA atf{3.1} [AllThatFood Mod] (AllThatFood-Modv3.1(1.10).jar)

UCHIJA conquest{0.0.1} [Conquest Reforged] (conquest_reforged_MOD(v.1.4.1).jar)

UCHIJA qcreatures{2.0.1} [Quintessential Creatures] (qcreatures-2.0.1.jar)

Loaded coremods (and transformers):

Launched Version: 1.10.2-forge1.10.2-12.18.2.2107

LWJGL: 2.9.4

OpenGL: GeForce GTX 675M/PCIe/SSE2 GL version 4.5.0 NVIDIA 353.62, NVIDIA Corporation

GL Caps: Using GL 1.3 multitexturing.

Using GL 1.3 texture combiners.

Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.

Shaders are available because OpenGL 2.1 is supported.

VBOs are available because OpenGL 1.5 is supported.

 

Using VBOs: Yes

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Packs: conquest

Current Language: English (US)

Profiler Position: N/A (disabled)

CPU: 8x Intel® Core i7-3630QM CPU @ 2.40GHz

OptiFine Version: OptiFine_1.10.2_HD_U_D1

Render Distance Chunks: 13

Mipmaps: 4

Anisotropic Filtering: 1

Antialiasing: 0

Multitexture: false

Shaders: null

OpenGlVersion: 4.5.0 NVIDIA 353.62

OpenGlRenderer: GeForce GTX 675M/PCIe/SSE2

OpenGlVendor: NVIDIA Corporation

CpuCount: 8

Link to comment
Share on other sites

I think this is your issue:

JVM Flags: 7 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn384M -Xmx512m

You have the

-Xmx

flag twice, and I suspect it is only using the second one, setting the max to 512M, instead of the 3G you wanted.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

You won't see the 2nd Xmx in the screenshot because it gets cut off by the text box.

Resize the settings window and you should be able to see that unnecessary argument.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

Can you write "java -version" on a cmd ?

If there is "Picked up _JAVA_OPTIONS: -Xmx512M" in the result like in the first screenshot, go in your environment variable (right click on the Windows button -> System -> Advanced system settings on the left-> open the tab with the same name -> environment variable...), and then removes _JAVA_OPTIONS.

 

 

9c57955a21.png

036b40aa6a.png

 

 

That was my thought as well, but I don't think that would apply to the built-in java installation of the launcher, which is in use here.

AFAIK global systems variables are applied everywhere in the system.

Link to comment
Share on other sites

Can you write "java -version" on a cmd ?

If there is "Picked up _JAVA_OPTIONS: -Xmx512M" in the result like in the first screenshot, go in your environment variable (right click on the Windows button -> System -> Advanced system settings on the left-> open the tab with the same name -> environment variable...), and then removes _JAVA_OPTIONS.

 

 

9c57955a21.png

036b40aa6a.png

 

It worked! Thank you thank you thank you!

 

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • They were already updated, and just to double check I even did a cleanup and fresh update from that same page. I'm quite sure drivers are not the problem here. 
    • i tried downloading the drivers but it says no AMD graphics hardware has been detected    
    • Update your AMD/ATI drivers - get the drivers from their website - do not update via system  
    • As the title says i keep on crashing on forge 1.20.1 even without any mods downloaded, i have the latest drivers (nvidia) and vanilla minecraft works perfectly fine for me logs: https://pastebin.com/5UR01yG9
    • Hello everyone, I'm making this post to seek help for my modded block, It's a special block called FrozenBlock supposed to take the place of an old block, then after a set amount of ticks, it's supposed to revert its Block State, Entity, data... to the old block like this :  The problem I have is that the system breaks when handling multi blocks (I tried some fix but none of them worked) :  The bug I have identified is that the function "setOldBlockFields" in the item's "setFrozenBlock" function gets called once for the 1st block of multiblock getting frozen (as it should), but gets called a second time BEFORE creating the first FrozenBlock with the data of the 1st block, hence giving the same data to the two FrozenBlock :   Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=head] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@73681674 BlockEntityData : id:"minecraft:bed",x:3,y:-60,z:-6} Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=3, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=2, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} here is the code inside my custom "freeze" item :    @Override     public @NotNull InteractionResult useOn(@NotNull UseOnContext pContext) {         if (!pContext.getLevel().isClientSide() && pContext.getHand() == InteractionHand.MAIN_HAND) {             BlockPos blockPos = pContext.getClickedPos();             BlockPos secondBlockPos = getMultiblockPos(blockPos, pContext.getLevel().getBlockState(blockPos));             if (secondBlockPos != null) {                 createFrozenBlock(pContext, secondBlockPos);             }             createFrozenBlock(pContext, blockPos);             return InteractionResult.SUCCESS;         }         return super.useOn(pContext);     }     public static void createFrozenBlock(UseOnContext pContext, BlockPos blockPos) {         BlockState oldState = pContext.getLevel().getBlockState(blockPos);         BlockEntity oldBlockEntity = oldState.hasBlockEntity() ? pContext.getLevel().getBlockEntity(blockPos) : null;         CompoundTag oldBlockEntityData = oldState.hasBlockEntity() ? oldBlockEntity.serializeNBT() : null;         if (oldBlockEntity != null) {             pContext.getLevel().removeBlockEntity(blockPos);         }         BlockState FrozenBlock = setFrozenBlock(oldState, oldBlockEntity, oldBlockEntityData);         pContext.getLevel().setBlockAndUpdate(blockPos, FrozenBlock);     }     public static BlockState setFrozenBlock(BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable CompoundTag blockEntityData) {         BlockState FrozenBlock = BlockRegister.FROZEN_BLOCK.get().defaultBlockState();         ((FrozenBlock) FrozenBlock.getBlock()).setOldBlockFields(blockState, blockEntity, blockEntityData);         return FrozenBlock;     }  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.