https://bugzilla.novell.com/show_bug.cgi?id=348719 User jensseidel@users.sf.net added comment https://bugzilla.novell.com/show_bug.cgi?id=348719#c9 --- Comment #9 from Jens Seidel <jensseidel@users.sf.net> 2008-04-01 09:56:51 MST --- (In reply to comment #8 from Egbert Eich)
I have no idea why this was getting so out of hand in your case.
Heh, I think I found it! Whenever I start and exit a special Motif application (non free) the memory increases by approximately 10MB. I did it 100 times in a loop and got: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3789 root 15 0 11.9g 2.0g 10m S 0 28.6 61:06.52 Xorg The 2 GB values doubled it's size from initial 0.8GB! But it is still an Xorg bug as the memory should be freed once the applications ends, right? The program itself initializes menus, allocates a few strings (probably without freeing with XmStringFree), a larger pixmap and initializes OpenGL (Mesa-6.5.1-23) without using it much in my case.
In most other cases it can be attributed to clients allocating pixmaps on the server which they don't release.
Shouldn't xrestop show this? Are there other tools?
The only to debug this I can presently think of would be a memory debugger.
Such as valgrind :-)) OK, now it is at least reproducable for me. There should exist also a few faster memory checkers.
This will however require that you terminate your server.
That's no problem for me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.