Recent Discussions
Panel using double the ram as server question
Open in DiscordUnanswered
Mourning Dove posted this in #questions
52 messages
0 views
Mourning DoveOP
Hello, I have a pterodactyl panel and my server is showing usage of around 14-15 GB ram sometimes hitting 16 and crashing but my spark reports are only showing around 5/6. I know the environment uses some but the difference seems abnormally big.
I’m using akira flags and have tried adjusting the xms and xmx a few times to try and mitigate it. But it doesn’t seem to help much.
It’s currently set to use up to 10 gb on startup
I’m using akira flags and have tried adjusting the xms and xmx a few times to try and mitigate it. But it doesn’t seem to help much.
It’s currently set to use up to 10 gb on startup
Screenshot_2025-04-15_084229.png
Screenshot_2025-04-16_080235.png
@Mourning Dove Hello, I have a pterodactyl panel and my server is showing usage of around 14-15 GB ram sometimes hitting 16 and crashing but my spark reports are only showing around 5/6. I know the environment uses some but the difference seems abnormally big.
I’m using akira flags and have tried adjusting the xms and xmx a few times to try and mitigate it. But it doesn’t seem to help much.
It’s currently set to use up to 10 gb on startup
I’m using akira flags and have tried adjusting the xms and xmx a few times to try and mitigate it. But it doesn’t seem to help much.
It’s currently set to use up to 10 gb on startup
Masai Lion
pterodactyl doesnt show usage, it shows allocation
hence the disconnect beween what spark and ptero shows
@Masai Lion pterodactyl doesnt show usage, it shows allocation
Mourning DoveOP
Do you know why so much is allocated ? As I said Mr startup is set to max 10 and there’s at least 4-5 gb being used on top
@Mourning Dove Do you know why so much is allocated ? As I said Mr startup is set to max 10 and there’s at least 4-5 gb being used on top
Asiatic Lion
Share your startup settings or spark report which contains your JVM
the answer is the is probably your
Xmx
/ Xms
value or -XX:+AlwaysPreTouch
being set.@Asiatic Lion Share your startup settings or spark report which contains your JVM
Mourning DoveOP
java -Xms128M -XX:MaxRAMPercentage=65.0 --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -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 -Dpaper.useLegacyPluginLoading=true -jar server.jar --nogui
These are my startups I remoed AlwaysPreTouch a while ago hoping that would improve. I have it set to use up to 65% and theres 16gb allocated in pterodactyl
ive also tried xms 1gb to xmx 10gb setting it right off the bat
Masai Lion
🤦♂️
Doesn't MaxRAMPercentage override xmx
Masai Lion
And MinRAMPercentage overrides xms
Mourning DoveOP
without the max ram percentage there
Asiatic Lion
to answer ur question yeet, it does.
@Mourning Dove without the max ram percentage there
Masai Lion
Ah
Mourning DoveOP
java -Xms10240M -Xmx10240M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -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 -Dpaper.useLegacyPluginLoading=true -jar server.jar --nogui
is what i tried before and still same issue
Asiatic Lion
uh wait
@Mourning Dove Hello, I have a pterodactyl panel and my server is showing usage of around 14-15 GB ram sometimes hitting 16 and crashing but my spark reports are only showing around 5/6. I know the environment uses some but the difference seems abnormally big.
I’m using akira flags and have tried adjusting the xms and xmx a few times to try and mitigate it. But it doesn’t seem to help much.
It’s currently set to use up to 10 gb on startup
I’m using akira flags and have tried adjusting the xms and xmx a few times to try and mitigate it. But it doesn’t seem to help much.
It’s currently set to use up to 10 gb on startup
Asiatic Lion
Was this without the shit we told u about
Mourning DoveOP
pre touch and stuff?
Asiatic Lion
pre touch and the memory percentage shit
Loading...
Loading...