For quite a while with several driver updates (even up to the latest one 310.19), I’m getting a memory leak in Xorg (on current Debian testing x86_64 with KDE). It slowly increases RAM usage until it eats it all (which can take a number of days for 4 GB).
I’m running it on a laptop (HP Compaq 8710w) using the laptop screen and external monitor attached in TwinView mode to make one big continuous desktop. Mobile GPU is Nvidia Quadro FX 1600M/PCIe/SSE2.
See the bug report attached below (jpg extension added to bypass strange forum restriction…).
Typically, when the memory usage of the Xorg process grows over time, it’s caused by some X client (such as kwin) leaking resources. Can you try running xrestop to see if the number of resources used by some particular client is growing?