Can large ingame maps lag a server?
I recently started working on a large map room in my server. However, the server has since started lagging quite badly, and its just soft-crashed as well. Is that something that large maps can cause?
18 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 element3329#0
Provide a spark report and we will be able to help you better understand what is causing the lag
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 | DocsAdmincraft Canned Responses
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
✅ Your server isn't lagging
Your server is running fine with an average TPS of 20.
Requested by element3329 • Page 1 of 4
How's that?
It's improved significantly since earlier, so I think it might have just been something to do with the provider
Only issue on that report is your garbage collection
I'd recommend switching to using better startup flags
How would I do that? I'm on PebbleHost if that helps
You would use something like: https://flags.sh/
I'm unsure in the new pebble UI how you change your own flags
And what would I need to change with these startup flags to make them better?
Basically 2 parts of the garbage collection which happens in the background was causing the server to lock up for 1.2s~
The flags provided optimise the garbage collection to help prevent that
Ahh I see
Aikar's flags?
Ye
Having a large map doesn’t lag the server if the chunks are pre generated. The only caveat is comparing players on a small map who overlap with each other. Say if you and I built our bases right next to each other. We’d be loading pretty much the same chunks, so our foot print would be the same.
!answered
post closed!
The post/thread has been closed!
Requested by element3329#0