I've discovered recently that something on my Centos 5.8 box (up to date) is hogging a ton of RAM. so a little while ago I sat and watched top for a while. it showed (sorry, I didn't take screen shots or write this down, so the numbers are a bit rough) that out of 8 gigs of swap, around 2 1/2 was in use, and all the RAM (except for the little the kernel keeps for itself) was in use (it's got 4 gigs). this might not sound bad, but there's hardly ever anything big running on this box, it's just my home desktop machine used mostly for web browsing/music/email and similar. so, watching top run for a while I could eventually make out that something had "1.6g" flashing in the "RES" column. slowing the refresh a little I saw that it was "clock applet". so I killed the clock applet and restarted it, then clock applet showed "11m" in the "RES" column, and the unused RAM was suddenly like a gig and 3/4, or so, and the swap used slowly started dropping while the free ram began being used up, as it normally should. as I continue to watch it run (10-15 mins later) I can see that clock applet is now showing 14m in the RES column, so it's still growing. Is anyone else seeing the clock applet hogging (tons of tiny leaks, I assume) RAM needlessly? -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- I can do all things through Christ who strengthens me. ------------------------------ Philippians 4:13 -------------------------------
Fred, Also running an up-to-date 5.8 but with just 2G of RAM, clock-applet consumes the following: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4133 me 15 0 29568 3748 2944 S 0.0 0.2 190:51.33 clock-applet My uptime at the moment is coming on 68 days. Over time the %CPU field may flicker up to 0.3 or even 0.7, but the RES column and others are steady at the numbers you see. I should add that all Preferences which we'd expect to consume more resources (e.g., display seconds, 12-hour time) are on. Do you use evolution? KDE, Gnome, or other WM? On 01/04/2013 05:11 PM fred smith wrote:> I've discovered recently that something on my Centos 5.8 box (up to date) > is hogging a ton of RAM. > > so a little while ago I sat and watched top for a while. it showed > (sorry, I didn't take screen shots or write this down, so the numbers > are a bit rough) that out of 8 gigs of swap, around 2 1/2 was in use, > and all the RAM (except for the little the kernel keeps for itself) > was in use (it's got 4 gigs). > > this might not sound bad, but there's hardly ever anything big running > on this box, it's just my home desktop machine used mostly for web > browsing/music/email and similar. > > so, watching top run for a while I could eventually make out that > something had "1.6g" flashing in the "RES" column. slowing the refresh > a little I saw that it was "clock applet". so I killed the clock applet > and restarted it, then clock applet showed "11m" in the "RES" column, > and the unused RAM was suddenly like a gig and 3/4, or so, and the > swap used slowly started dropping while the free ram began being used up, > as it normally should. > > as I continue to watch it run (10-15 mins later) I can see that clock > applet is now showing 14m in the RES column, so it's still growing. > > Is anyone else seeing the clock applet hogging (tons of tiny leaks, I > assume) RAM needlessly? >
m.roth at 5-cent.us
2013-Jan-08 15:19 UTC
[CentOS] gigantic memory leak in Clock Applet...
John Doe wrote:> > Maybe try valgrind... > But after testing it on a few basic utilities like ls, find xclock, it > seems that many of them do have leaks...More reason to dislike gnome.... mark
Am 08.01.2013 um 16:19 schrieb m.roth at 5-cent.us:> John Doe wrote: >> >> Maybe try valgrind... >> But after testing it on a few basic utilities like ls, find xclock, it >> seems that many of them do have leaks... > > More reason to dislike gnome.... > > markconfirmation bias - you only see what you want to see :-) -- LF