Jump to content

Strange memory leak on world load after adding wavefront file


Recommended Posts

Alright I been working on my mod for some time with forge, Just literally started to update it to 1.6.2 from scratch, by doing so I have ran into a small issue with one of the objects I designed in maya. This use to work in 1.5.2 but for some strange reason in 1.6.2 it causes a huge memory leak of 3gig or more when the player creates a new world or loads a old one. Been sitting here for hours trying to figure this out, looked at a few open source mods that uses this feature and still no luck. I have made the bitbucket of the mod source public for now in hopes of anyone might know the solution :S

Forge version:


Source of everything necessary for the object and its creation:




Screenshot of the object:







Object in 1.5.2







Memory leak proof







And finally the usual crash log of out of memory:



2013-08-01 18:49:14 [iNFO] [sTDERR] java.lang.OutOfMemoryError: Java heap space
2013-08-01 18:49:18 [iNFO] [sTDERR] 	at net.minecraft.util.AABBPool.getAABB(AABBPool.java:50)
2013-08-01 18:49:32 [iNFO] [sTDERR] 	at net.minecraft.block.Block.getCollisionBoundingBoxFromPool(Block.java:601)
2013-08-01 18:49:32 [iNFO] [sTDERR] 	at net.minecraft.block.Block.addCollisionBoxesToList(Block.java:567)
2013-08-01 18:49:35 [iNFO] [sTDERR] 	at net.minecraft.world.World.getCollidingBoundingBoxes(World.java:1682)
2013-08-01 18:49:48 [iNFO] [sTDERR] 	at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:183)
2013-08-01 18:50:04 [iNFO] [sTDERR] 	at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:389)
2013-08-01 18:50:08 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:91)
2013-08-01 18:50:20 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:689)
2013-08-01 18:50:24 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)
2013-08-01 18:50:37 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2013-08-01 18:50:53 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
2013-08-01 18:51:09 [iNFO] [sTDERR] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)

The rest of this is cut off since it never closes till you force it to by pressing the red square :P



A modder uses search for solutions, a coder asks for help only after looking into the main source of the game modding. A master java programmer has solutions and is helpful. Be friendly to others, they will be friendly to you (depending on how their day goes ;) )

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.

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.


  • Create New...

Important Information

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