American Truck Simulator

American Truck Simulator

Linux Memory leaking
The game sometimes stops working due to memory full.
Everything is official, no additional mods are installed.
Tried:
1. Checking files.
2. -mm_pool_size 8192
3. -rdevice gl
4. -maxMem=8192 (my PC have 16Gb)

Nothing helped. The memory sometimes (1.5-2 hours) becomes full and it throws me out of the game.
< >
19/9 megjegyzés mutatása
Any ideas, guys?
i'm not a Linux guy, but why are you limiting memory anyway?
On my Win install i'm seeing around 10GB sys ram usage when running ATS

And 22 mins, sorry about that :)
Legutóbb szerkesztette: straiton; 2024. márc. 28., 12:44
straiton eredeti hozzászólása:
i'm not a Linux guy, but why are you limiting memory anyway?

I tried to solve crash problem. At first I played without parameters, of course.
The problem is that the game takes up all the memory until it crashes.

With -maxMem=8192 it gradually takes all 16 GB too .
I used to have the same problem when I was running every Jazzycat traffic mod, after an hour or so it would use all 16 GB, I took out a couple of the mods and didn't hit that problem again.

Better off running the DX11 version under proton, it performs better.
Legutóbb szerkesztette: ThunderDownUnder; 2024. márc. 28., 15:51
if your GPU is vram limited it will page to ram for graphics textures.
Have you tried running lower rez or restrict frame rate/vsync?

What are your sys specs and monitor and rez
Legutóbb szerkesztette: straiton; 2024. márc. 28., 16:19
straiton eredeti hozzászólása:

What are your sys specs and monitor and rez

AMD Ryzen 5 3600 6-Core
16 GB Ram
2060 NVIDIA 2060 SUPER 8 Gb
display 1920*1068

Cyberpunk completed :)

When I played ETS 2 a few years ago there were no problems.

Apparently, along with new features, new bugs were added. :)
Make sure your swap file is system controlled. There is no reason to dump all the stuff into your RAM.
I don't run the game on Linux but how big is your swap partition? What does top show about memory usage whilst the game is running?
Thank you all guys! Especially Wolfgang and The Pitts.

I made a swap partition. ATS/ETS is, apparently, the first game in my experience that necessarily requires a swap partition.

At least during my game session RAM+swap does not have time to fill up. Let's consider this a solution to the problem. :)
< >
19/9 megjegyzés mutatása
Laponként: 1530 50

Közzétéve: 2024. márc. 28., 12:18
Hozzászólások: 9