Re: Applet Memory Usage



On Mon, May 29, 2000 at 01:17:10PM -0400, Sean Thomas Middleditch wrote:
> 
> I was taking a look at gtop and noticed that panel applets take (what
> I consider to be) humungous amounts of memory.
> 
> tasklist: 4476k
> modemlights: 3912k
> mixer: 3900k
> gproc: 4408k
> deskguide: 4092k

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
 4473 itp        0   0  4348 4348  3376 S       0  0.0  1.6   0:00 gnomeicu
 4471 itp        1   0  3824 3824  3016 S       0  0.1  1.4   0:00 tasklist_app
 4469 itp        0   0  3480 3480  2752 S       0  0.0  1.3   0:00 deskguide_ap

Time to learn about shared memory, my friend.  A quick and fairly
accurate estimate of memory usage is RSS-SHARE.  So my gnomeicu uses
4348-3376=972, my tasklist 3824-3016=808, and my deskguide
3480-2752=726.

This is because all of the shared libraries that GNOME programs use
are, well, shared between them.

-- 
Ian Peters  | GnuPG Key ID 5C23D20C    | Those who know what's best
itp@gnu.org | E584 2558 FAC3 BEAB EFAC | for us must rise and save
itp@cmu.edu | FC74 CFED 7E24 5C23 D20C | us from ourselves...




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]