DarkGuardsman Posted April 25, 2013 Posted April 25, 2013 Forge build 660+ This is the strangest error i've gotten and i have no clue how to fix it. When my dev environment crashes i don't get a stack trace but rather a crash when it tries to make one. I've tried several version of forge between 650-674. I've re-install mcp, eclipse, java tested with and without mod code. In debug it will crash with the error bellow or a memory leak. http://pastebin.com/zMhrZUHB If you need anymore info i can give a setup of my dev environment and how i use it. Quote http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
DarkGuardsman Posted April 25, 2013 Author Posted April 25, 2013 Forge build 660+ This is the strangest error i've gotten and i have no clue how to fix it. When my dev environment crashes i don't get a stack trace but rather a crash when it tries to make one. I've tried several version of forge between 650-674. I've re-install mcp, eclipse, java tested with and without mod code. In debug it will crash with the error bellow or a memory leak. http://pastebin.com/zMhrZUHB If you need anymore info i can give a setup of my dev environment and how i use it. Quote http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
LexManos Posted April 25, 2013 Posted April 25, 2013 Its been fixed for a while now, update Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
DarkGuardsman Posted April 26, 2013 Author Posted April 26, 2013 ok and thank you got it working after i updated for the 3rd time. However, is there any issue with the newest version memory leaking on world creation? Quote http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
LexManos Posted April 26, 2013 Posted April 26, 2013 No unless youre a modder ignore that message. Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
DarkGuardsman Posted April 26, 2013 Author Posted April 26, 2013 No unless youre a modder ignore that message. *cough cough* i'm a modder that why i'm asking since i have to try 3 or 4 times to get a test world going. As well i need to know the source to know if its forge or a mod so i don't spend all day looking for a bug i can't fix. Quote http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
LexManos Posted April 26, 2013 Posted April 26, 2013 Search the source for that message it's fairly obvious. Throw a System.gc() there {I should really add in a force flag} What happens is it kills all internal references to the World. And if no mod has a hard reference to the world {or entities or the like} the GarbageCollector will run and clean up the memory. Sometimes, the GC doesn't run between the last reference drop and the check, depending on the GC's aggressiveness. Which can cause false positives. We don't want to force a run of the GC in the end user environment because that screws up the GC's heuristics and just makes it relaly inefficient. However in the dev env, if you toss a force in there and it's still spitting the message. It means your mod somewhere has a leak. Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
DarkGuardsman Posted April 26, 2013 Author Posted April 26, 2013 ok thanks not sure which mod as most of them do nothing on start up or on world gen. Only one i can think of would be ICBM... Quote http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
Recommended Posts
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.