Dota-2-Vulkan icon indicating copy to clipboard operation
Dota-2-Vulkan copied to clipboard

Memory leak

Open NoSoap opened this issue 10 years ago • 12 comments

Ram usage increased steadily throughout the game, eventually using up about 6.5gb.

Edit: added dxdiag for specs DxDiag.txt

NoSoap avatar May 24 '16 08:05 NoSoap

wow, mine got up to 12gb. checked at the task mnger DxDiag.txt

wmnasrulwr avatar May 24 '16 08:05 wmnasrulwr

Same here, AMD driver on Linux. Got 40 minutes into the game and then it became unplayable. I reported it to AMD also but I would guess it is just something not being unloaded. I can reproduce it very easily so if Valve want some info I'd be happy to give it.

shanefagan avatar May 24 '16 10:05 shanefagan

Same, AMD on Windows 64 bits

augusto2112 avatar May 24 '16 16:05 augusto2112

I don't think it's the same issue but it's a memory leak after all so I'll put it here. Basically when I start up the game and I get in the menu it uses about 1800-2200 memory already. Then it keeps increasing.

When in the game it decreased slowly again (not like it got cleaned as soon as I went in the game)

During loading it also still leaked but a bit slower than in game it seemed. It's about 5-10MB a second in the menu for me.

Eventually in game it went back down to about 1800-1900 and stayed there till the end of the game. As soon as the game ended it started leaking again but it's getting cleaned eventually. It leaks faster now it seems (about 10-20MB a second) but it gets cleaned every minute or two it seems. After it collects garbage it does leak a lot slower but it will slowly increase again.

It seems kinda random and weird but I'm sure there is some sort of pattern. Hope this info helps to reproduce the issue.

Rojoss avatar May 24 '16 18:05 Rojoss

I have identified the memory leak in the Vulkan Scaleform render backend. We are looking into it.

danginsburg avatar May 24 '16 18:05 danginsburg

Also please make sure you're using the Steam Client Beta when testing the Vulkan code, as the regular client can negatively impact Vulkan perf on AMD.

Plagman avatar May 24 '16 18:05 Plagman

I have fixed the memory leak in Scaleform and it will be in a future Dota 2 update.

danginsburg avatar May 24 '16 20:05 danginsburg

Sweet thnx @danginsburg Working pretty good for me apart from this issue. Just a few graphical glitches but performance wise it's fine apart from memory issues. :+1:

Rojoss avatar May 24 '16 21:05 Rojoss

This should be fixed in the 5/24 update. Please let me know if not.

danginsburg avatar May 25 '16 00:05 danginsburg

still memory growth issue is there, running on mesa 17.3.7 with intel hd 630

snj33v avatar Mar 31 '18 07:03 snj33v

Hello @snj33v, please open a new issue report so that your issue can be tracked properly.

kisak-valve avatar Mar 31 '18 13:03 kisak-valve

This issue exist on my pc since 2018 to nowadays (amd cpu amd video card). After 1-2 hours dota eat all system memory and pc crash

koreanfan avatar Aug 17 '21 15:08 koreanfan