ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.24k stars 175 forks source link

Steam causes Xorg to leak memory #5764

Open kiroma opened 6 years ago

kiroma commented 6 years ago

Your system information

Please describe your issue in as much detail as possible:

When Steam is running for a prolonged amount of time it causes Xorg to leak memory. This issue was primarily the root cause of #5279.

Steps for reproducing this issue:

  1. Open steam
  2. Wait
  3. Check Xorg memory usage
kiroma commented 5 years ago

I've just noticed that after a long session of gameplay the memory usage of Xorg doesn't raise above the normal. I'm not exactly sure if it's an odd occurrence though. 21 January 2019 beta build.

kiroma commented 4 years ago

So I'm bumping this again since after a short session the X server managed to reach over 1GB of RAM usage, shortly before my computer froze

A-UNDERSCORE-D commented 4 years ago

re-Bumping this, issue persists

A-UNDERSCORE-D commented 4 years ago

Continues to be an issue.

Peter0x44 commented 4 years ago

Bumping. I have no idea why such a serious problem is being mostly ignored here.

A-UNDERSCORE-D commented 4 years ago

Yeah I'll say "still an issue" here as well. Ive taken to keeping steam closed most of the time which really sucks for random game invites and such

jilv220 commented 3 years ago

Same here. Still a issue. Leaving steam client open cause my xorg eating more and more memory.

Ristovski commented 3 years ago

Can confirm on Gentoo with XMonad - Steam just caused Xorg to accumulate almost a gigabyte of RAM after having Steam open for ~1 day. Closing Steam made Xorgs ram usage drop to a measly 132MB.

Having multiple Steam sub-windows open (like friends list, chat etc) makes it even worse.

TheBeardOfTruth commented 3 years ago

Steam still bloats xorg with gigabytes of unused pixmaps or windows over two and a half years later, often within the span of hours.

In this case steam has been running for 8 hours: image

And here is the exact same process list after restarting steam and waiting for it to load image

Not ice the drastically lower Xorg memory use (a delta memory of 791 MiB, that's ~100MiB/ hour, a rather excessive leak, if you ask me)

zergling-man commented 3 years ago

Solution: Use Goldberg steam emulator :^)

dakrk commented 3 years ago

Happy late 3rd birthday to this issue 🎉

ForteDexe commented 2 years ago

the problem still exist, manjaro gnome 40

nonchip commented 1 year ago

aaaaaaand now it's leaking so many sockets i can't actually start anything anymore (not even e.g. glxgears or xlsclients from outside of steam) after 5ish minutes of steam starting, due to Maximum number of clients reached...