Mojira Archive
MC-273262

Game appears to lag spike when the garbage collector frees up RAM

While playing the game will allow a little movement, pause for 1 to 2 seconds then engage once again for around 8 seconds then pause for 1 to 2 seconds, and keeps doing this.  When I use the F3 key to look at the data there, the memory in the top right corner keeps rising, once it hits about 75% it seems to reset to around 20%, then starts increasing once again.  this corresponds to the pausing in the game.  This has happened on other snapshots after 1.20.6 and seems to get fixed then will work for a few days until another snapshot comes into play and will happen again.  When I exit the game the launcher will say that my game crashed and give the exit code: -1073740940.  I have attached a couple of the screen grabs and the profiling zip.  

Unresolved

Kensyi42

2024-06-12, 02:41 AM

2024-11-06, 06:03 PM

8

8

Community Consensus

Important

Platform

Performance

lag

1.20.6 - 1.21.31.20.6, 1.21 Pre-Release 4, 1.21 Release Candidate 1, 1.21, 1.21.1 Release Candidate 1, 1.21.1, 1.21.3

-