此主题已被锁定
Nexie 2023 年 6 月 16 日 下午 2:33
Memory Leak? - Steam Web Helper using 6GB of RAM
I left my PC on over night, went out for the day, and came back to my PC to find my RAM sitting at 75% usage while idle. A single steam web helper process had 6GB reserved.

This new UI isn't just a memory hog - it actively has a memory leak. I can deal with new visuals. I can put aside my disgust at web-based design infecting the rest of the steam UI. But this is an actual issue, and should have been caught in testing.

Proof:
https://i.imgur.com/Dn6XR91.png
< >
正在显示第 226 - 240 条,共 384 条留言
( ( < < <🤖> > > ) ) 2023 年 10 月 1 日 下午 10:12 
steam customers need protections and user defined usage limits

its that simple... make it happen..
Cray 2023 年 10 月 1 日 下午 11:19 
引用自 ragefifty50
steam customers need protections and user defined usage limits

its that simple... make it happen..

Yes, though it's really better to leave that to the OS. Steam should simply not have memory problems at all, that's their part of the job. Resource limits are best left an OS level responsibility, so that no program/process/app can eat up all of everything, and is restricted in terms of what resources it's allowed to access.

Funny thing is, Linux already has a fully functional interface for this, to put limits on everything from RAM to CPU, disk usage, file access, network, I/O and a lot of other stuff (the cgroups system, primarily).

It's just that nobody seems to want to enable this by default. Most Linux distros (and Windows, last I checked) will happily allow you to do things like:

-fork bomb, spawn a million processes spawning a million more - freezes the system almost instantly. It just takes one bad program with a bug and it's technically allowed to freeze your entire system.

-consume all available ram, nothing left for anything else.

-bombard the disk and use up all available space (that cripples pretty much any windows or linux).

People have brought this up in windows and linux forums many times. Responses are often in the line of:

"But if you put default limits on how much ram it can use, what if a process needs all that ram?" (yeah, how often does that happen compared to the contrary problem?)

"It's hard to do because we don't know which programs need access to what" (yes, it's work, but someone's gotta do it at some point - perhaps software could come with a little manifest of what it needs, just like phone apps do).

Unfortunately, steam implementing limits etc. on its own would quickly become a bandaid - it shouldn't have to have these because it should be done right in the first place.

I've started launching steam (on Linux) with an enforced memory limit. If it eats all the ram I gave it and crashes - fine. Better crash after gobbling up 4-8gb than letting it eat all my ram and then crash.
lsdninja 2023 年 10 月 1 日 下午 11:30 
You know what's funny? As far as the desktop goes (since Unix and mainframes probably had this for decades prior) Classic Mac OS (called System Software at the time) had an interface that allowed you to set how much memory each application could use in the early 90s.
( ( < < <🤖> > > ) ) 2023 年 10 月 1 日 下午 11:35 
interesting... i just checked win11 task manager it does have a feedback option...

sending this feedback to them... LOL

memory leaking from Steam Client WebHelper program

the program has 7 instances and one of those instances is leaking or using more and more ram the longer the program is running and it doesnt release ram when you open up other different programs like art and video software which require a good portion of ram to function smoothly.
Fearagen 2023 年 10 月 1 日 下午 11:35 
引用自 ragefifty50
interesting... i just checked win11 task manager it does have a feedback option...

sending this feedback to them... LOL

memory leaking from Steam Client WebHelper program

the program has 7 instances and one of those instances is leaking or using more and more ram the longer the program is running and it doesnt release ram when you open up other different programs like art and video software which require a good portion of ram to functions smoothly.
Definitely reply copying whatever Microsoft responded with on what they think of this. Would be a great read.
Cray 2023 年 10 月 1 日 下午 11:49 
引用自 ragefifty50
interesting... i just checked win11 task manager it does have a feedback option...

sending this feedback to them... LOL

memory leaking from Steam Client WebHelper program

the program has 7 instances and one of those instances is leaking or using more and more ram the longer the program is running and it doesnt release ram when you open up other different programs like art and video software which require a good portion of ram to function smoothly.

hahaha. This might actually be useful, I wouldn't be surprised if they actually act on these reports to a degree, or gather stats, so if a bunch of users report the app, it's possible ms might send a nudge valve's way to tell them "take it from us - you have a problem".
KEEPER 2023 年 10 月 1 日 下午 11:53 
引用自 Fearagen
引用自 pontfogel
It's obviously an issue if Steam is using 6bg of memory whether it's a leak or not. Imagine if it does that on a low memory system.
This, having something use up that much ram just sitting in the background is not only atrocious by itself but on a low ram machine it can cause slowdowns, a lot of people still run 16 GB or even 8. And if it is a memory leak, were about to see a storm of post about their system crashing.
oh, this makes sense why i'v been having so many issues lately, i only have 8GB of ram on my machine, geeze i thought my crashes were due to my bethesda games i play all the time, i mean i have another issue with steam not booting i wonder if that is related to it, i'm using a browser to gain access to this link because my steam app is down and i have followed more than a few youtube videos in how to prevent that issue, nothing has helped, stupid steam is ♥♥♥♥♥♥♥ things up again.
lsdninja 2023 年 10 月 1 日 下午 11:57 
引用自 KEEPER
geeze i thought my crashes were due to my bethesda games i play all the time

<insert "Why not both?" gif here>

:P
Fearagen 2023 年 10 月 2 日 上午 12:00 
引用自 Cray
引用自 ragefifty50
interesting... i just checked win11 task manager it does have a feedback option...

sending this feedback to them... LOL

memory leaking from Steam Client WebHelper program

the program has 7 instances and one of those instances is leaking or using more and more ram the longer the program is running and it doesnt release ram when you open up other different programs like art and video software which require a good portion of ram to function smoothly.

hahaha. This might actually be useful, I wouldn't be surprised if they actually act on these reports to a degree, or gather stats, so if a bunch of users report the app, it's possible ms might send a nudge valve's way to tell them "take it from us - you have a problem".
I'm creating feedback right now so that 2 people have reported it to MS so far.
Max 2023 年 10 月 2 日 上午 12:10 
Rlly this crappy louncher ,offline mode but somehow it gets 1gb? Nothing can be fixed other than restart it lol.
Also why local screenshot need be an internet to see them?
最后由 Max 编辑于; 2023 年 10 月 2 日 上午 12:13
( ( < < <🤖> > > ) ) 2023 年 10 月 2 日 上午 12:12 
引用自 Fearagen
引用自 Cray

hahaha. This might actually be useful, I wouldn't be surprised if they actually act on these reports to a degree, or gather stats, so if a bunch of users report the app, it's possible ms might send a nudge valve's way to tell them "take it from us - you have a problem".
I'm creating feedback right now so that 2 people have reported it to MS so far.

thats good... it will be interesting...

its probably like this at the window office...

https://www.youtube.com/watch?v=FXMcbhn6Np0
Cray 2023 年 10 月 2 日 上午 1:04 
Btw. everyone, maybe you can workaround with these meanwhile?

https://superuser.com/questions/1239257/how-do-i-limit-ram-consumption-of-a-particular-executable

https://stackoverflow.com/questions/192876/set-windows-process-or-user-memory-limit

I'm not on windows any more so I can't try it myself.

On Linux it's just (repeating it here for completion):

systemd-run --scope -p MemoryLimit=4000M steam

..to cap it at 4GB.
( ( < < <🤖> > > ) ) 2023 年 10 月 2 日 上午 1:13 
4GB.... are you serious... i want less the 750mb

I have enough ram but if i was to shutdown
steam every 12 hours it wouldnt go over 750mb
so that sort of tells me anything over that is not needed at all....

4GB naaaaaaaaaaaaah
Fearagen 2023 年 10 月 2 日 上午 1:14 
引用自 ragefifty50
4GB.... are you serious... i want less the 750mb

I have enough ram but if i was to shutdown
steam ever 12 hours it wouldnt go over 750mb
so that sort of tells me anything over that is not needed at all....

4GB naaaaaaaaaaaaah
That's probably a safety net more than anything. If it reaches the limit steam will probably just crash. So, if you have it set to 750 MB it will crash when it fills 750 MB.
Cray 2023 年 10 月 2 日 上午 1:26 
引用自 ragefifty50
4GB.... are you serious... i want less the 750mb

I have enough ram but if i was to shutdown
steam every 12 hours it wouldnt go over 750mb
so that sort of tells me anything over that is not needed at all....

4GB naaaaaaaaaaaaah

Set it to whatever you like. I just recommended 4 as a baseline so it won't sputter and die within the hour. A few gigs is enough to keep it managed, but alive for long enough that you get to do stuff and restart before it crashes.

Try 750mb if you want - I made it crash within a minute when I set it to 500MB yesterday, so you may face some issues. Setting it to eg. 1200 mb and then using steam for a while is probably a decent way to test if you have the memory bleed issue, as it should choke and die pretty quickly from that (but still have enough ram to begin with that "this should have been enough.. you screwed up steam" is a fair statement).
最后由 Cray 编辑于; 2023 年 10 月 2 日 上午 1:27
< >
正在显示第 226 - 240 条,共 384 条留言
每页显示数: 1530 50

发帖日期: 2023 年 6 月 16 日 下午 2:33
回复数: 384