Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

 

Source of everything necessary for the object and its creation:

 

 

 

Screenshot of the object:

 

 

LToLooW.png

 

 

 

Object in 1.5.2

 

 

B0Tpk3U.jpg

 

 

 

Memory leak proof

 

 

sYBIkwl.png

 

 

 

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

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.