[1.12.2] [1.0.1] The world may have leaked.
Sandriell opened this issue ยท 2 comments
I am getting the following error messages repeating every 30 seconds when unloader tries to unload a dimension and fails.
[06:03:14] [Server thread/DEBUG] [FML]: Queueing dimension -9999 to unload
[06:03:14] [Server thread/DEBUG] [FML]: Queueing dimension 2 to unload
[06:03:19] [Server thread/DEBUG] [FML]: Aborting unload for dimension -9999 as status changed
[06:03:19] [Server thread/DEBUG] [FML]: Aborting unload for dimension 2 as status changed
[06:03:34] [Server thread/DEBUG] [FML]: The world 2eaa655 (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 148c01b0 (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 98eda5 (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 1ce0d83e (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 3699361a (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 7cdaf90f (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 65564580 (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 66e54835 (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 50ecf6af (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 3e6b3648 (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 1d6926b (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 5bbd2a65 (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world b7f396c (world) may have leaked: first encounter (5 occurrences).
[06:03:34] [Server thread/DEBUG] [FML]: The world 384ae82a (world) may have leaked: first encounter (5 occurrences).
[06:03:44] [Server thread/DEBUG] [FML]: Gathering id map for writing to world save world
[06:03:44] [Server thread/DEBUG] [FML]: Queueing dimension -9999 to unload
[06:03:44] [Server thread/DEBUG] [FML]: Queueing dimension 2 to unload
[06:03:49] [Server thread/DEBUG] [FML]: Aborting unload for dimension -9999 as status changed
[06:03:49] [Server thread/DEBUG] [FML]: Aborting unload for dimension 2 as status changed
[06:04:14] [Server thread/DEBUG] [FML]: Queueing dimension -9999 to unload
[06:04:14] [Server thread/DEBUG] [FML]: Queueing dimension 2 to unload
[06:04:19] [Server thread/DEBUG] [FML]: Aborting unload for dimension -9999 as status changed
[06:04:19] [Server thread/DEBUG] [FML]: Aborting unload for dimension 2 as status changed
[06:04:24] [Server thread/DEBUG] [FML]: The world 2eaa655 (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 148c01b0 (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 98eda5 (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 1ce0d83e (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 3699361a (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 7cdaf90f (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 65564580 (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 66e54835 (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 50ecf6af (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 3e6b3648 (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 1d6926b (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 5bbd2a65 (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world b7f396c (world) may have leaked: seen 10 times.
[06:04:24] [Server thread/DEBUG] [FML]: The world 384ae82a (world) may have leaked: seen 10 times.
.......
[00:24:28] [Server thread/DEBUG] [FML]: Queueing dimension -9999 to unload
[00:24:28] [Server thread/DEBUG] [FML]: Queueing dimension 2 to unload
[00:24:33] [Server thread/DEBUG] [FML]: Aborting unload for dimension -9999 as status changed
[00:24:33] [Server thread/DEBUG] [FML]: Aborting unload for dimension 2 as status changed
[00:24:43] [Server thread/DEBUG] [FML]: Gathering id map for writing to world save world
[00:24:58] [Server thread/DEBUG] [FML]: Queueing dimension -9999 to unload
[00:24:58] [Server thread/DEBUG] [FML]: Queueing dimension 2 to unload
[00:25:03] [Server thread/DEBUG] [FML]: Aborting unload for dimension -9999 as status changed
[00:25:03] [Server thread/DEBUG] [FML]: Aborting unload for dimension 2 as status changed
[00:25:08] [Server thread/DEBUG] [FML]: The world 2eaa655 (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 148c01b0 (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 98eda5 (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 1ce0d83e (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 3699361a (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 7cdaf90f (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 65564580 (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 66e54835 (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 50ecf6af (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 3e6b3648 (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 1d6926b (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 5bbd2a65 (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world b7f396c (world) may have leaked: seen 23890 times.
[00:25:08] [Server thread/DEBUG] [FML]: The world 384ae82a (world) may have leaked: seen 23890 times.
Hi! Sorry for the delay in response.
The two worlds (-2 and -9999) are worlds from mods that I believe are purposefully preventing unloading (I can't remember the mods), I noticed the same on my servers. I consider this normal. You should hope to see an update to Unloader that will allow you to whitelist these to avoid the messages.
As for the world leaks, that's a bit more complicated.
The worlds that are "leaking" are ones that Unloader has unloaded. However, some of the objects from those worlds may still be in memory. (Usually from mods not releasing objects properly).
I have a few options here, I could try disabling the debug warning for world leaks, but I would rather not do this.
Another option is try to write something that will clean the worlds of all loaded objects. This will probably give a small performance/memory boost. The issue here is potential for crashes if a mod wasn't expecting it's stuff to unload.
The third option is rather simple, ignore it.
I would like to write something to clean unloaded worlds, but I feel with my lack of expertise in the area it might not be any good. I can't promise anything, but I will try.
The short-term solution is, it's safe to ignore, if a bit annoying.
I recently pushed an update to Unloader that adds a blacklist, db13984
Due to the nature of this issue there isn't much I can do other than provide a way to blacklist certain dimensions.
So I'm going to close this issue for now, if it gets worse or changes feel free to comment here again!