86 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 .voidexe#0
Can you provide a spark report please?
memory on a panel isnt the best place to look at. you should be monitoring memory from a spark report
!spark
Spark Profiler
Spark can be used to see why your server or client is lagging.
Users can share a spark report via
/spark profiler start --timeout 300
which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support.
Download | Website | Docs
Admincraft Canned Responses
I have spark already, hang on
I'll get back to u once the thing is done
You can also do
/spark healthreport
to get current usage@Skullians Do I just send the link it gave?
yeah go for it
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
β Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Paper
Requested by .voidexe#0
whar
uh
@Mortis
Your ram usage is fine
1.8Gb usage
TPS looks fine though
surely the memory shouldn't be at almost 2gb upon start up though
thatβs pretty good for start imo
Probably because you never used more than 2.8
Also use Aikar flags
er what? We have 6gb
I watched it go to like 5.2 earlier
On ptero?
nerve use ptero for ram usage statistics
I have no idea what a ptero is
The panel
itβs a panel
The web panel
We use enviromc
This
yeah
enviro uses pterodactyl
ohh
Donβt use the web panel for ram usage statistics
because itβs inaccurate, and tends to use more than itβs told to
So everything is fine then?
yeah
I would recommend you put on Aikar flags
What's that?
startup flags
hold on
whatβs the name of your server software jarfile
theoretically, how would one find that?
ya know, just for a friend
uh
go to the files section of the panel
there should be a jarfile in there (not in folders)
Ends in .jar
it's literally just server.jar
right
so go the startup section of the panel
or settings
yeah
java -Xms5632M -Xmx5632M --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 -jar server.jar --nogui
paste that in placeI don't see anywhere to paste that xd
uh
send a ss of your startup page?

Youβre in the console tab
at the top there should be one named βstartupβ or variables or settings

settings only has this

go to settings
bruh
hold
Is there nothing at the very top?
I forgot what enviro looks like
As in not on the side
but a bar at the top across the page
there is a startup section I swear
I clicked the logo (at the top) and it sent me to this

Right go on the SMP
send a full ss
of the entire page
I clicked that and it just sent me to the console tab
yeah
send a full ss

Is there nothing above�
like above the console
nope
bruh and youβre positive thereβs no startup section on the sidebar
yeah lmao I sent the ss
damn
well you donβt need them
Because your ram usage is low anyways
But I remember changing them when I had an enviro server
pain
startup tab
not settings.
are you a subuser?
literally what I said
after correcting myself
ah
Me?
Also this
If youβre a sub user (if you donβt actually own the server plan) you might not have access
Yeah, I don't own it, I'm just admin
ah
the owner just went to sleep ;-;
in that case, youβll have to get the owner to change them
you need perms for startup tab
^
LMAO
issue of skill
@Skullians I have access to the thing now, could you resend me what you told me to put in?
oh never mind π
I see it
What one do I paste it in

@Mortis
Do you know what one
Change as you need.
that's the thing, I don't know what I need to change, or where I need to put that π
I'm kinda new to, well, everything
I just wanna make sure it keeps the 6g
In the startup command variables.
I updated the command.
Just replace your current startup variables with the ones I posted.
Alright, preiciate it π
It might crash, if it does we just take a smidge of the RAM off.
it might crash instantly? or upon start up
Upon startup.
it was fine, but the panel is still like 4g/6g with a 30 min uptime
π
It should do that.
Use spark if you actually want to know what the usage is.
The panel just reports what the JVM takes and that should be as much as possible. The program inside the JVM is the important metric.
Iβm even newer to this than voide is, whatβs the jvm and why on earth does it need 98% of the ram?
java virtual machine
mc runs inside it
Why does it need so much ram though?
because its minecraft
jvm is mc
Is there a way to limit it?
reduce the xmx, theres always gonna be some overhead tho
but that will give mc less to work with
Kk Ty
PGDK answered some stuff, but when you run a Java app it creates the Java Virtual Machine for any Java software you run.
The JVM has some amount of RAM, 8 gigs as an example, and any Java programs running inside the JVM can take and use that RAM as required. When itβs not needed it goes back to the JVM.
Why you give the JVM all of the RAM is because if the MC server inside happens to need more RAM it can only access it via the JVMs RAM heap.