Re: How do I pursue a gnome-shell memory leak ?
- From: "Jasper St. Pierre" <jstpierre mecheye net>
- To: Petko Ditchev <pditchev gmail com>
- Cc: Desktop development list GNOME <desktop-devel-list gnome org>
- Subject: Re: How do I pursue a gnome-shell memory leak ?
- Date: Thu, 5 Dec 2013 12:18:59 -0500
A lot of this has to do with the fact that texture memory is counted as mapped in our process, even though it's really on the dedicated GPU memory.
So, every pixel of every window is counted by being in our process (and also in the X server), because it's part of our address space, but they're all sharing the same actual memory on the GPU.
It depends on the driver, of course, but Intel and NVIDIA has this issue.
If you can try running gnome-shell with valgrind or massif, that will give you more accurate allocation counts, since it will count all the times that some code runs malloc(). The profiling results from massif would be useful regardless, but I think you'll find that we only allocate around 300M or so.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]