Jump to content

Recommended Posts

Posted

Testing my mods with Minecraft 1.6.4, Forge 9.11.0.880, FML 6.4.2.880

 

After running the game for a while, it locks up for several seconds. It will proceed, often a single frame, then again lock up for several seconds. Debug Screen shows Used Memory is 30% or less. Allocated Memory is 35%. The Launcher Development Console has the following message:

 

Client> 2013-09-23 02:30:21 [sEVERE] [Minecraft-Client] ########## GL ERROR ##########

Client> 2013-09-23 02:30:21 [sEVERE] [Minecraft-Client] @ Post render

Client> 2013-09-23 02:30:21 [sEVERE] [Minecraft-Client] 1285: Out of memory

 

I'm running on Windows XP Professional, 32-bit, with SP3 and all updates. I have Java version 7 update 40 (build 1.7.0_040-b43), also the latest. My computer has 4GB of RAM, but Java is allocated 1GB. JVM Arguments: "-Xmx1G". That's the maximum that Java will take; it crashes if I set it any higher. Video card is GeForce 8800 Ultra with 768MB.

 

My current test just has Forge and one of my mods. It doesn't appear to matter which mod(s) are active.

Posted

I would blame any custom rendering you are doing.

Show some code for more help.

 

By the way, it will not help to set Java with more memory than default.

The more memory you give to Java, the more likely memory will be screwed up.

Posted

Excerpt from the log:

 

2013-09-23 02:20:28 [FINE] [ForgeModLoader] Runtime patching class net.minecraft.client.gui.achievement.GuiAchievements (input size 7316), found 1 patch
2013-09-23 02:20:28 [FINE] [ForgeModLoader] Successfully applied runtime patches for net.minecraft.client.gui.achievement.GuiAchievements (new size 10361)
2013-09-23 02:20:28 [FINE] [ForgeModLoader] Runtime patching class net.minecraft.client.gui.inventory.GuiContainerCreative (input size 12366), found 1 patch
2013-09-23 02:20:28 [FINE] [ForgeModLoader] Successfully applied runtime patches for net.minecraft.client.gui.inventory.GuiContainerCreative (new size 15968)
2013-09-23 02:20:28 [FINE] [ForgeModLoader] Runtime patching class net.minecraft.item.EnumRarity (input size 983), found 1 patch
2013-09-23 02:20:28 [FINE] [ForgeModLoader] Successfully applied runtime patches for net.minecraft.item.EnumRarity (new size 1195)
2013-09-23 02:20:56 [FINE] [ForgeModLoader] Runtime patching class net.minecraft.block.BlockBaseRailLogic (input size 5119), found 1 patch
2013-09-23 02:20:56 [FINE] [ForgeModLoader] Successfully applied runtime patches for net.minecraft.block.BlockBaseRailLogic (new size 6158)
2013-09-23 02:22:19 [iNFO] [Minecraft-Server] [rbdyck: Set the time to 0]
2013-09-23 02:22:20 [iNFO] [Minecraft-Client] [CHAT] Set the time to 0
2013-09-23 02:22:30 [iNFO] [Minecraft-Server] [rbdyck: Changing to clear weather]
2013-09-23 02:22:30 [iNFO] [Minecraft-Client] [CHAT] Changing to clear weather
2013-09-23 02:22:42 [FINE] [ForgeModLoader] Runtime patching class net.minecraft.world.gen.feature.WorldGenDeadBush (input size 745), found 1 patch
2013-09-23 02:22:42 [FINE] [ForgeModLoader] Successfully applied runtime patches for net.minecraft.world.gen.feature.WorldGenDeadBush (new size 1069)
2013-09-23 02:25:17 [sEVERE] [Minecraft-Client] ########## GL ERROR ##########
2013-09-23 02:25:17 [sEVERE] [Minecraft-Client] @ Post render
2013-09-23 02:25:17 [sEVERE] [Minecraft-Client] 1285: Out of memory

 

Full log:

 

  Reveal hidden contents

 

 

This shows ForgeModLoader made alterations that increased memory. Immediately prior to "Out of memory".

The only renderer in my mod was not active. It renders toxic gas. When I tested, that did not produce any error. When this problem occured, I was in a completely different part of the world.

 

I deliberately teleported so far that it would force generation of new chunks; from (-100, 64, 200) to (1100, 120, 800). I had originally teleported to (1000, 120, 1000), but after wandering around a bit, had discovered a jungle temple. After playing with the locking mechanism and taking items from the chest, the memory error happened. Prior tests had shown when I move to a new chunk and alter something, this problem can occur.

 

But if you really want to see my render code, here it is:

 

  Reveal hidden contents

 

Posted

Like I said its an error in 1.6.2-4 has it self because it crashes instead of the error. If on main page with Execption-Acesse violation. Which when it goes crash the client from GL render error it's in the same function. (I have tested this in 1.4.x -1.6.x)

Posted

Looks like I solved it. A friend did a Google for this error, and found 2 suggestions: update video driver, and increase Windows swap file. I found NVIDIA did come out with a new driver on September 19 of this year, but that didn't fix the problem. Then I increased the Windows swap file. That did fix it.

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



×
×
  • Create New...

Important Information

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