# xorg memory leaks

On my desktop computer Xorg leakages a great deal of memory. I make use of to allow this equipment on for days (weeks, months ...), yet around as soon as a week I'm compelled to reactivate xorg, due to the fact that it is taking way too much memory.

Am I the just one influenced by this concern? Why does this is take place?
Is it xorg to be badgered , or is it another thing (possibly some xorg components)?
Can I do anything to prevent it?

Some even more details:

I'm on ArchLinux, kernel 2.6.36, nvidia vehicle drivers 260.19.36, gnome 2.32.1.

Anyhow I've obtained this concern from a great deal of time, like greater than one year.

Below is just how the Xorg procedure is revealed by leading after concerning 9 days of uptime ...

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
1591 root      20   0  278m 229m 9364 S    2 11.8 244:38.73 Xorg


I've obtained just a couple of open home windows. 229MB of resident memory resembles a whole lot to me (and also it will certainly maintain expanding with time). As quickly as I reboot Xorg I'll additionally add procedure statistics at the start of its life.

Below is as quickly as my Gnome desktop computer rises:

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
1573 root      20   0 89508  43m  11m S    1  2.2   0:03.53 Xorg

0
2019-05-18 23:23:21
Source Share
Answers: 3

I have that very same trouble and also comparable OS. Mem leakages is possibly in gnome. I have massive mem leakages in Xorg mem room when I make use of applet to transform display resolution. I do not recognize where is trouble yet if you will certainly disable this applet than mem leakages will certainly not show up anymore.

0
2019-06-01 05:09:49
Source

Some memory leaks in the X web server are applications' mistakes ; if they create web server - side Pixmaps and also do not clean up after themselves, they linger for life. (This is planned to be an attribute, so as an example GNOME can install a set of standard Pixmaps as soon as and afterwards utilize them from any kind of program by circulating their XIDs, as an optimization.) xrestop can be made use of to track these down.

0
2019-06-01 05:07:10
Source

Here is an Ubuntu bug record for a memory leakage in Xorg: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/565981

Does that aid in all?

0
2019-05-21 10:35:55
Source