X leaks memory while team fortress 2 is running in wine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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 know that it may be team fortress 2, wine, or X that is causing the problem. But as it's X that is actually leaking, i figured i would file a bug against X.
Thanks :)
ProblemType: Bug
Architecture: amd64
Date: Tue Dec 8 15:12:14 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/Xorg
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: System manufacturer System Product Name
NonfreeKernelMo
Package: xserver-xorg-core 2:1.6.4-2ubuntu4.1
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_GB.UTF-8
PATH=(custom, no user)
ProcVersionSign
RelatedPackageV
xserver-xorg 1:7.4+3ubuntu10
libgl1-mesa-glx 7.6.0-1ubuntu4
libdrm2 2.4.14-1ubuntu1
xserver-
xserver-
SourcePackage: xorg-server
Uname: Linux 2.6.31-16-generic x86_64
dmi.bios.date: 02/25/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS STRIKER II FORMULA ACPI BIOS Revision 1101
dmi.board.name: STRIKER II FORMULA
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.XX
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
fglrx: Not loaded
system:
distro: Ubuntu
architecture: x86_64kernel: 2.6.31-16-generic
Changed in xorg-server (Ubuntu): | |
status: | New → Confirmed |
tags: | added: karmic |
Changed in xorg-server (Ubuntu): | |
status: | Incomplete → Fix Released |
I am having the issue with some other wine 3D apps (SpellForce, Majesy for example ).
It easily gets over 1GB after some use(1.3 is the highest i saw), and does not get released after the apps are closed.
i am using 64-bit 9.10 version with a Nvidia 8400MGT card
I get the(unconfirmed) feeling that it also happens, albeit more slowly, in "normal" use. compiz is not active.