Hello everyone! today we have a very short guide on how to get rid of annoying lags and freezes in Rust.
This is a translation of my original guide. English is not my native language and I mostly use google translate so I apologize in advance for any mistakes. I will be grateful if you point out my mistakes and will definitely correct them.
As it turned out, this is due to the overflow of the so-called "Trash buffer" and its clearing. And exactly at this moment we have lags in game. This situation arises from the fact that the default size of this buffer in the game only 256 megabytes and it quickly overflows, Especially in dynamic scenes when a lot of actions take place on the screen.
Well, now that we understand the essence of the problem and have figured out why this lags appear, it won’t be difficult for us to get rid of them. In order to do this, we should simply increase the buffer size!
You can do this by entering this command into the console, where in numbers we set the desired buffer size, in the range from 64 megabytes to 4 gigabytes
- gc.buffer 2048
It is important to understand that this buffer stores data in the computer’s RAM, therefore, if your PC has less than 8 gigabytes of memory, it is better not to touch it at all, or set the value to no more than 512. If you have 12 gigabytes of memory or more, I recommend installing buffer size for 2 gigabytes (2048). I’m playing with this value and I don’t have any lags or freezes, no matter how long I have been in the game! Also, instead of typing this command manually, we can add it to the launch parameters of the game
Well, that’s it! Now you can enjoy the game without any lags!
Oh yes, a small request 🙂 If this method helped you, write about it in the comments, and do not forget to rate this guide! 😉