1.20.4 Pl3xmap crashing server due to rapid ram consumption, flags issue?
The map is generating in a completely screwed up manner, so I did /pl3xmap resetmap for the offending world and then let it generate, but it consumed so much ram it OOMs the server within a minute or two.
Map: https://survival.casualcrafters.net/?world=survival_main&renderer=vintage_story&zoom=3&x=1428&z=443
Pl3xMap
Pl3xMap is a minimalistic and lightweight world map viewer for Minecraft servers using the vanilla Minecraft rendering style
9 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by .deathpacito#0
It's supposedly freshly generating the map now but the map is still broken

Startup flags:
java -Xms4096M -XX:MaxRAMPercentage=80.0 --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar server.jar
Aikar's Thoughts
JVM Tuning: Optimized G1GC for Minecraft - Aikar's Thoughts
Learn more about my In depth study on tuning the G1GC garbage collector to be optimized for how Minecraft servers run, and keep low pause efficient usage.

Server is lasting around 3 minutes before OOMing
Enabled this and purged all tiles, let's see if it works

GitHub
I'm getting an OOM using this software. What's going on? · Issue #7...
No, there is no memory leak. Yes, Pl3xMap uses as much ram as it can. That's by design. What you both are seeing is the server using more ram than the server has to give it. This is due to misc...
Did the GC option and no more crashes
The map is still generating all screwed up, so i'm thinking it was Chunky not pregenerating all chunks right
Testing that now
Yep I think Chunky cancelled after a crash long ago so that needs to be fixed
Will finish chunky then try again
!solved
post closed!
The post/thread has been closed!
Requested by .deathpacito#0