Mailinglist Archive: opensuse-bugs (14006 mails)
| < Previous | Next > |
[Bug 348719] X.org leaks a lot of memory (nv driver?)
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 1 Apr 2008 09:56:52 -0600 (MDT)
- Message-id: <20080401155652.0520DCC6C2@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=348719
User jensseidel@xxxxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=348719#c9
--- Comment #9 from Jens Seidel <jensseidel@xxxxxxxxxxxx> 2008-04-01 09:56:51
MST ---
(In reply to comment #8 from Egbert Eich)
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.
Shouldn't xrestop show this? Are there other tools?
Such as valgrind :-))
OK, now it is at least reproducable for me. There should exist also
a few faster memory checkers.
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.
User jensseidel@xxxxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=348719#c9
--- Comment #9 from Jens Seidel <jensseidel@xxxxxxxxxxxx> 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.
| < Previous | Next > |