Jonty800
-
Content Count
5 -
Joined
-
Last visited
Posts posted by Jonty800
-
-
I was able to reproduce this bug in fCraft too
The safest way to dump the excess memory during generation is by requesting it, which takes time and is normal. Instant dumping would cause serious problems.
So yeah, there is no bug, this is totally normal for both fCraft and 800Craft. If GC does not kick in on your machine until it's out of memory, your runtime is misconfigured -
Hmmm, now that is interesting.
I narrowed the bug down to an instance not properly being disposed of in the new Map Format extension, but its weird for ServerCLI to not use the same amount of memory as the GUI :S
I get the same memory usage in the CLI as the GUI.
The memory clears are 3000mb because that's the time-interval for when the software dumps the excess memory -
I think I have narrowed down the cause of the memory leak upon creating a new map, I have passed the issue on to LaoTszy, since its his code notifying me.
I'll let you know when the next version is out with this fix so you can update. -
Interesting!
I'll look into this right away.
Its weird, because the fCraft and 800Craft infrastructure are the same, especially the /Gen command. I'll keep you updated on this issue.
fcraft vs 800craft Memory Leak
in Serious Discussion
Posted
Sometimes the dump happens really quickly, hence why you were unable to produce it on fCraft and why I was unable to locate the bug. The CLI and GUI will run exactly the same. The Dumping of the memory happens whenever it can, so it can take any amount of time.