Detected leaking worlds in memory.

Status
Not open for further replies.

Ashzification

New Member
Jul 29, 2019
7,425
1
0
Ok, so, remove thaumcraft and problem solved for you.
Otherwise, if you wish to continue this discussion, please post a new thread describing your issue, and provide your complete client-side console log on pastebin.com
 

othala

New Member
Jul 29, 2019
18
0
0
Removing Thaumcraft is not a solution, I can remove all mods and play to vanilla ... my issue ? It's the same of all FTB players : memory leak
 
  • Like
Reactions: RedBoss

Ashzification

New Member
Jul 29, 2019
7,425
1
0
Removing Thaumcraft is not a solution, I can remove all mods and play to vanilla ... my issue ? It's the same of all FTB players : memory leak
If you wish to continue this discussion about your exact problem and ways to work around it, open your own thread and I will help you there.
 
  • Like
Reactions: Booker The Geek

othala

New Member
Jul 29, 2019
18
0
0
I don't need any personalized help about this isssue because it's a general / major modpack issue.

The problem is clearly not solved and as I'm still have right to speak here.
 

Ashzification

New Member
Jul 29, 2019
7,425
1
0
general / major modpack issue.

I cannot agree with this, because not everyone is effected by the world leaking issues.
I've only experienced it once, on one world. When I reinstalled my launcher, changed my perm gen space and chunk loaded as Booker suggested, I never had another problem on that world. I have not had this problem on any other world since.
 

S0L0SAM

New Member
Jul 29, 2019
4
0
0
I was having this problem. I installed mcpc plus jar and havent had it since. I was getting it on every server boot and ive rebooted twice since with no problems.

Maybe coincidence, dont know.
 

ShireensPlay

New Member
Jul 29, 2019
62
0
0
Mods that cause world leaks (I had problems with these):
  • Mystcraft (I don't use it)
  • Twilight Forest
  • Wirless Redstone
 

Ashzification

New Member
Jul 29, 2019
7,425
1
0
Ok, lets try some things out here...
  1. OPEN THE FTB LAUNCHER.
  2. Under the options tab, go to advanced, and type this into the Java parameters:
  • MAKE SURE IT IS EXACTLY AS WRITTEN! You will get errors if there are any extra spaces/letters/special chars.... Please double check.
Less then 2GB of ram

Code:
-Xms256m -XX:PermSize=128M -XX:MaxPermSize=256m
More then 2GB or ram
Code:
-Xms512m -XX:PermSize=128M -XX:MaxPermSize=512m
  • So what this does is:
    1. -Xms: set initial Java heap size.
    2. -Xmx: set maximum Java heap size. (Not in code, this is set by the slider.)
    3. -XX:permSize: Size of the Permanent Generation.
    4. -XX:MaxPermSize: Maximum Size of the Permanent Generation.
So... Try these, and re-post to pastebin if it don't work.


Why you ask?
So the idea I have come to is that with so many mods, Java is running out of memory.

  • "What? but i gave it two gigs of ram in the launcher"
Well, Java actually uses Two different memory settings. The slider in the launcher only touches one of them. This will change the other way that Java uses memory.


  • "Why is that happening now oh wise man?"
Basically, (Not pointing fingers), It is because most of the people who are creating these wonderful amazing mods we like to play with are sorta kinda new to java programing. (SOME of the people, KINDA SORTA new. :DI love you all ) These problems will go away as the people get better at programming. No, there is nothing right now that we can do to solve a lot of these issues. (You could always help out the mod programmers and the FTB launcher guys if you really want to by DONATING to them. This will allow them to have more incentive/free-time to become better at Java.)


{edit} Realized that the numbers were exactly the same.... oops
{edit} Changed Parameters.
{edit} Added the warning at the top.
{edit} Clarified some instructions
{edit} Removed space from Java Parameters, Thanks Phil_Aus
Can I also make a knowledgebase article about this?
 
  • Like
Reactions: Booker The Geek

Whist34

New Member
Jul 29, 2019
2
0
0
  • Line #952 tells us:
    • 17:33:23 [INFO] [ForgeModLoader] Loading dimension 0 (btg2) (bdz@43b8b888)
  • But line # tells us:
    • 17:33:39 [SEVERE] [ForgeModLoader] The world 9a93359 (btg1) has leaked.
That is... Odd.....


Let me think about this for a bit?

I am using FTB DW20 5.2.0 and I followed your instructions for version 1 to get rid of leaking memory.

It is rather odd. During testing I got the same error you did.

-- My testing history --
I should have checked the forums first, but decided to debug myself. I eventually found that CBE's version of wireless redstone was not gracefully unloading the Redstone Ether and was keeping it loaded in memory even after the world had been closed. I discovered this while trying to find a good world for my server. After 30 worlds my forge log was reporting around 34 worlds leaking and java was taking up 5g of system memory (normally 2g on my system). I also noticed that I could not delete worlds that I had just created and wanted to get rid of. The log reports showed that the redstone ether dimension was still in use. This issue ceased when I removed the CBE wireless redstone mods (granted, it may have been another mod interaction, but I could not find any other installed mod that uses the redstone ether).

After disabling CBE-wirelessredstone I found that the redstone ether was no longer persisting (obviously) and I could now delete old worlds, however, a memory leak still existed for consecutively created worlds. It is an odd issue and many people probably do not even notice that it exists, because unless you are looking for it and creating multiple worlds then you won't find it (these are not myst dimensions). The first world has no memory leak, but follow-up worlds report the last world as leaking memory. (I seem to remember reading that this may just be a forge reporting thing and not really be a memory leak, something to do with the way worlds are unloaded, but I'm too tired to go digging around for that thread again.)

So then I further tested without CBE-wirelessredstone and found that if I deleted a world (W01) that had just been created then created a new world (W02) with a new name then Thaumcraft reported errors of not finding aurra node data in the world (W01) that was just deleted. Obviously the files no longer existed, but why was Thaumcraft trying to access them in the first place? I created a new world, why would Thaumcraft need to look to the old one for aura nodes?

I then disabled Thaumcraft. Still... leaking consecutive worlds but at least nothing was reported actively trying to access them. Finally I added ChickenChunks to my disable list. Now I have disabled ChickenChunks, mystcraft, PortalGun, Thaumcraft, ThaumicBees, TwilightForest, and all three CBE-wirelessredstone. I have now made 4 consecutive worlds with no leak reports.
-- End history --


I would like to know if you finished thinking about the problem you mentioned =) If so, would you please let me know what you discovered?

I have not tried your second fix. I will, eventually; I love all of these mods and intend to use them on my server (memory leak in consecutive worlds should not be a problem). I will, however, investigate an alternative to CBE-Wirelessredstone. The original wirelessredstone mod has a version available for 1.4.7 (which is the Minecraft version we are all using on FTB at the moment).


Thank you

(P.S. No logs are posted because I am not trying to have something debugged... yet. Just requesting follow-up info for something BTG posted.)
 

Elysium

New Member
Jul 29, 2019
71
0
0
This is not a client issue, it is a host issue (I.E. any computer/serverbox that hosts a world) will experience this issue. You will NOT experience this issue in your client log when you launch the game, or join someone elses world. Only when you create a server or maybe even single player. You can change all the launch parameters you want, it is NOT going to make leaking worlds dissapear. Again, this has NOTHING to do with the client.
 

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
Can I also make a knowledgebase article about this?
YES!... I don't mind if you do. :D
(I helped out a knowledge base articall.... Hell yeah!)

This is not a client issue, it is a host issue (I.E. any computer/serverbox that hosts a world) will experience this issue. You will NOT experience this issue in your client log when you launch the game, or join someone elses world. Only when you create a server or maybe even single player. You can change all the launch parameters you want, it is NOT going to make leaking worlds dissapear. Again, this has NOTHING to do with the client.
I believe, (As in I think but am not sure) That server and client now both run when playing single player. I remember reading something about it when mods were required to be both server and client compatable in the same download?

This is not a client issue, it is a host issue (I.E. any computer/serverbox that hosts a world) will experience this issue. You will NOT experience this issue in your client log when you launch the game, or join someone elses world. Only when you create a server or maybe even single player. You can change all the launch parameters you want, it is NOT going to make leaking worlds dissapear. Again, this has NOTHING to do with the client.


~ I would like to know if you finished thinking about the problem you mentioned =) If so, would you please let me know what you discovered? ~
What was I thinking about?
 

Hottheadliberty

New Member
Jul 29, 2019
17
0
0
just in case this might help someone else i was having the world leak issue and i decidd to try the chunkloader solution, i went to all my mystcraft worlds and put CL's in them then i placed one in the overworld. then i restarted the game. but i still had the problem with the lag spikes every 5 seconds. so i tried the solution with disabling the wireless redstone mods. i followed the procedure exactly but still had the problem. then i decided to try adding a CL to the twilight forest even though i had not gone there yet. as soon as the Twilight forest loaded the lag spikes were gone so plopped down a CL and went back to the over world and no lag spikes.

so in short you have to place Chunk loaders in every dimension even if you have not been to it yet. i hope this helps sombody else

Edit: started a new world today and no matter how many chunkloaders i place nothing works!
any ideas?
 

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
just in case this might help someone else i was having the world leak issue and i decidd to try the chunkloader solution, i went to all my mystcraft worlds and put CL's in them then i placed one in the overworld. then i restarted the game. but i still had the problem with the lag spikes every 5 seconds. so i tried the solution with disabling the wireless redstone mods. i followed the procedure exactly but still had the problem. then i decided to try adding a CL to the twilight forest even though i had not gone there yet. as soon as the Twilight forest loaded the lag spikes were gone so plopped down a CL and went back to the over world and no lag spikes.

so in short you have to place Chunk loaders in every dimension even if you have not been to it yet. i hope this helps sombody else
... Did you read Fix #2? :D
 

Ashzification

New Member
Jul 29, 2019
7,425
1
0
yes i did but it does not specify that you needed to put one in the twilight forest even if you have never been there before. regardless i hope they track down this bug soon
It's not technically a bug. The leaking memory spam in your console is meant to grab the developers attention. It's a problem with more than one mod as well.
 

Hottheadliberty

New Member
Jul 29, 2019
17
0
0
It's not technically a bug. The leaking memory spam in your console is meant to grab the developers attention. It's a problem with more than one mod as well.
well it may be poor phrasing on my part but i consider anything that causes my game to not run correctly a "bug". i honestly don't care if the console tells me to go to hell just so long as i stop getting the 4 second lag spike every 5-6 seconds.

after reading what i wrote it sounds like i have an attitude but i promise you thats not the case i just can think of any better wording to say that. :)
 

DragoncraftGaming

New Member
Jul 29, 2019
1
0
0
Thanks for the help BTG! I removed wireless redstone and mystcraft and my world leaks are gone without reappearing for one full day!
~EDIT~ The time I was awake during that specific day.
 
Status
Not open for further replies.