http://bugs.winehq.org/show_bug.cgi?id=21221
Summary: Team Fortress 2 causes X to leak memory Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: signup+winehq@cshadowrun.com
While i have team fortress 2 running, even if it's just sitting idle at the menu, X continually leaks memory. Here's some examples from top
Just after restarting X, and starting TF2: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 18952 cshadowr 20 0 3440m 696m 45m R 16 8.7 0:33.55 hl2.exe 16685 root 20 0 694m 85m 22m S 0 1.1 0:37.16 Xorg
After leaving it overnight: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 18952 cshadowr 20 0 3367m 696m 45m S 15 8.7 97:40.81 hl2.exe 16685 root 20 0 1907m 1.3g 23m S 0 16.2 12:16.79 Xorg
I have 8GB of RAM, so 16.2% is about 1.3GB of RAM for Xorg. On occasions i've seen it go up to 80, 90%, making the computer eventually just freeze.
Closing team fortress 2 does not free the memory and X still leaks regardless of if compiz is running.
I've filed a bug against xorg on launchpad for this issue too. I used apport to collect data so there's alot of interesting reading material if anyone wants it. https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/494064