protonscr

Steam runs out of memory after repeatedly opening and closing games

steamclosed Steam client
ValveSoftware/steam-for-linux#8198 · opened 2021-10-31 by Managor · updated 2024-03-30 · 2 comments · github
MManagor 2021-10-31 github

Your system information

  • Steam client version (build number or date):
    image
  • Distribution (e.g. Ubuntu): Arch Linux
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

When you repeatedly open and close games with steam, steam eventually runs out of memory. For this I used an xdotool script that opens and closes the game N++ constantly.

sleep 10
while true
do
    xdotool click 1
    sleep 10
    xdotool key Alt_L+F4
    sleep 10
done

Backtrace:
https://gist.github.com/Managor/d44cff392e49cfaaeba81780a8c6a87c

Steps for reproducing this issue:

  1. Open and close games repeatedly
Aarrowgent 2021-11-10 github

can you show memory with
free -hw
for each iteration as the memory used increases?

also verify that the application closed
ex:
ps -AF|grep steam
if its closed it will not show up here

MManagor 2024-03-30 github

@kisak-valve This can be closed. I am no longer able to reproduce this.

Nothing extracted yet.