I appear to be having memory issues, any idea what may be causing it?
So Minecraft seems to have a desire to vastly use more RAM than what's allocated. I'm sure it's a memory leak issue, though I am not the greatest at figuring out how Spark works. I'm not sure if it's able to show me if a mod specifically is leaking memory or not. Here's the logs and the spark profile that I ran before I ran OOM again, hopefully there will be something useful in there.
https://spark.lucko.me/jgixXr8asL
https://mclo.gs/Ojjc6hg
Ran off of a self-hosted server and managed by a self-hosted instance of Pterodactyl Panel.
Fabric Loader 0.14.21 - MC1.20.1
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
14 Replies
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Fabric
Requested by lumievi#0
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 lumievi#0
Seems like the spark link expired
That's unfortunate
Don't use live profiling
Are u seeing the usage on panel?
yeah, it goes way above what I actually allocate to it
That's normal
It will show reserved ram
Not actual usage
What's ur startup flags
I mean as in it eats my entire amount of RAM
Of the machine/vps itself?
The whole machine
All 16 GB
How much does the machine have
What are ur startup flags
java -Xms8G -Xmx8G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -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 -jar server.jar
Remove alwayspretouch and set xmx to 6 gb and size on pterodactyl to 8 gb
U might want to setup swap for like 2 gb for overhead
Alright, I'll mess with that tomorrow, as it's very late
Looks like that fixed it, thank you very much
Actually...
It still looks like I'm running out of memory, but much slower