Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wb fill possible memory retention issue #160

Open
smmmadden opened this issue Oct 5, 2019 · 1 comment
Open

wb fill possible memory retention issue #160

smmmadden opened this issue Oct 5, 2019 · 1 comment

Comments

@smmmadden
Copy link

Server: Windows 10 Pro x64
Hosted: locally, I manage on my servers.
PaperSpigot: 1.14.4 builds 207 and 209 (haven't tried earlier builds)
WorldBorder: 1.9.10
Dynmap: Dynmap-3.0-beta-6-spigot.jar
Plugins
latest.log file showing all exceptions and startup
Java: 1.8.0_202
PaperSpigot Server RAM: 4GB + MetaspaceSize=1024m MaxMetaspaceSize=2048m
Issue: from console, I initiated the wb fill pillagers 20 208 true and while the fill was going through the chunks in the center (spawn) over time it started having memory and thread dumps.

The wb fill behaves as if the chuck has been loaded and completes the process, but are not releasing (all or some) of the memory once done. Ultimately it runs out, we get a thread dump and it starts up again - but it keeps going thru the same cycle of holding memory without releasing. In the attached log about line 4001 you'll see the memory floating up/down until about row 7500 and from there it drops further until the dump is written when getting to 163MB free at line 7767. It gets worse from that point on until I stop the server, restart and then it repeats again.

Additional info: I did run dynmap fullrender first and it completed fine. Setup the border and shape in worldborder and tried to just use wb fill pillagers without the force=true and it would not fill the inside. Only with the force=true did it start writing to dynmap. If you need anything further, do let me know.

Not sure if this has to do with the new chuckloading that was introduced in 1.14.4 or problems with paperspigot - though the log says it is not. So, starting here and if we need to pull in the Paper guys, we can. Thanks!! --Steve

@smmmadden
Copy link
Author

Sorry, the startup was cut off due to how many lines was written. Here is a the startup info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant