TickProfiler icon indicating copy to clipboard operation
TickProfiler copied to clipboard

How do I go about identifying the lag from the log here?

Open heyheyhey123243 opened this issue 5 years ago • 1 comments

Hey, I've been having problems with tick lag (keep getting 'server can't keep up' errors in the logs) but I'm not sure how to fix it.

I've downloaded this and lag goggles (helped a bit) to try and find problems.

I've run /profile s - https://paste.ee/p/Y2HdO

I'm not sure how to read these errors and what blocks are causing the problems, simply googling these errors doesn't net me any clear answers either.

heyheyhey123243 avatar Jun 02 '20 08:06 heyheyhey123243

Try starting with /profile e output rather than attempting to make sense of the lagspike detection output. This will tell you specifically which chunks and which entities/entity types are eating your CPU. Also, ensure that you're giving Java a sufficiently large heap size, as one of the symptoms of almost running out memory is that garbage collection becomes more frequent and takes longer.

miiichael avatar Jun 18 '20 07:06 miiichael