Skip navigation.
Home
Now Shipping Version 8.0

xorg memory leak


Posts: 2299

Wonder if more people have been experiencing a memory hungry xorg.

After using the PC for some graphic work, opening multiple windows and desktops, I noticed that it registers in KSysGuard to have a VMsize of 404,748. That is a lot, considering Xorg uses 45,000 when just started up.

I cannot explain this behaviour, other than a memory leak.

I notice it by the way on the PC with a 64 Mb Nvidia card, on on the laptop with a shared memory Intel graphics chip.

Bug or feature??

I think you need to check

I think you need to check which programms you're starting - sometime they allocating x-resources and not freeing them by exit... Probably its more program problem rather xorg (need to investigate in details).

My laptop currently has 23 days uptime and xorg is still 64MB vsize (mepis 6rc2).

Rgds,
-dim

is possible

... i'll check it out... a possible candidate is inkscape, which I have been using a lot today...

Newbie or not Newbie, there's always a question

I got the same problem

Take a look at http://www.mepis.org/node/11530

I am running same programs on Beta2 on the same machine without any problems at all. I am considering a clean install in order to see if that solves the problem.

Please tell if you find out anything, I will du the same.

Jon Du Quesne's picture

Yup

Hi all,

I'll see if I can monitor my system and get better info on this. But I think there may be a problem. As I mentioned to kamikaze on the other thread, there was an update to the xorg (lowercase) package a couple days ago. I normally do my updates via apt-get, so I can't be more specific on the day, sorry. I also didn't notice any untoward behavior, but then I wasn't looking for a leak Smiling

I'll see if I can find something too.

Jon

drlizau's picture

xorg

i had xorg using 99% of my processor on a gentoo install. i trashed it because i had other problems i did not have time to solve so we won't know if it was xorg or me responsible for the incredible processor hit.

there seems to be no problem...

I checked on the desktop machine with a 64 Mb nvidia card, and when I shut it down last night xorg used about 50 Mb. Quite normal. I suspect inkscape to be the culprit.

The toshi laptop I bought has an intel 945 graphics chip, with 128 Mb shared memory. Here, xorg uses 290 Mb at startup. The fact that the video chip has no dedicated memory may have sth to do with it, but still, 300 Mb is huge.

Strange thing is this. In Ksysguard xorg shows with 300 Mb, thunderbird: 130, firefox: 130, konqueror: 50 and a whole bunch of services between 30 and 5 Mb. This easily adds up to 700 Mb. However, kinfocenter gives me 26% of 1gb (so 260 Mb) application data, and 11% disk buffers, so a grand total of 370 Mb. ?¿?¿?¿?¿¿

Newbie or not Newbie, there's always a question

I resolved my Xorg problems

Ok I finally found out what caused my memory leak. My 6.0 have "gtk2-engines-gtk-qt" installed by default and my beta2 do not have it installed. I tried uninstalling "gtk2-engines-gtk-qt" on my 6.0. Xorg do not consume more memory than it should and my swap do not increase endlessly anymore.Smiling

The bad part is that my gtk-programs like firefox, thunderbird synaptic, gimp etc have a terrible look. (On my beta2 it looks nicer and i can not figure out why?)Sad

Do anybody know how to control the gtk-programs appearance without using gtk2-engines-gtk-qt? Puzzled

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.