memory hogging is occur when:
1) /usr/local is NFS mounted by autofs
2) The recentry-used-file entry exists in ~/.recentry-used
If these conditions are set, gnome-panel was woken up repeatedly about once per second.
The gnome-panel dose mmap for icon-theme.cache every time woken up, and don't munmap.
The gnome-panel will become larger until memory is exhausted.
Workaround is to stop NFS mount /usr/local by autofs.
On Fri, 1 Jul 2005 04:39:05 +0900
Kazutoshi Morioka <morioka(a)at.wakwak.com> wrote:
I think gnome-panel has memory leak around icon theme cache.
The gnome-panel mmaps icon-theme.cache files, and didn't munmap.
For unknown reason, gnome-panel on my PC mmaps same icon-theme.cache again and again.
Removing ~/.recently-used and ~/.gtk-bookmarks cures this situation.
On Fri, 1 Jul 2005 03:24:27 +0900
Kazutoshi Morioka <morioka(a)at.wakwak.com> wrote:
> Hello.
> I found that gnome-panel got a lot of memory, and getting larger and larger.
> I also found that gnome-panel is always running in idle state.
> What is this? This is current state.
>
> # ps alx|(head -1;grep gnome-panel)
> F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
> 0 501 2768 1 15 0 347488 180152 stext Ssl ? 0:23 gnome-panel
--sm-client-id default2
> # ps alx|(head -1;grep gnome-panel)
> F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
> 0 501 2768 1 16 0 366512 190228 stext Ssl ? 0:25 gnome-panel
--sm-client-id default2
> # ps alx|(head -1;grep gnome-panel)
> F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
> 0 501 2768 1 15 0 376144 195364 stext Ssl ? 0:25 gnome-panel
--sm-client-id default2
> # rpm -q gnome-panel
> gnome-panel-2.10.1-10.1