Mailing List Archive

Support open source code!


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

Re: tlug: Emacs these days



Your message dated: Thu, 14 Jan 1999 16:37:43 +0900
[snip] 

> Probably it is the memory.  What else are you running?  The
> X server can eat quite some memory and then there is of
> course our favorite Web browser (probably the most buggy
> memory sink on this planet after the OS from Redmond).  Try
> running `top' and see how much memory X, Emacs, and Netscape 
> is taking and how much of that is resident (the RSS field).
> Chances are high that part of the memory that Emacs wants to 
> garbage collect (GC) are swapped out and then GC takes a
> long time.

Here is the output of top sorted on resident memory:

Mem:   30824K av,  30124K used,    700K free,   9976K shrd,    248K buff
Swap:  64508K av,  37944K used,  26564K free                  4592K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
19385 plinsley   1   0 16224  12M  1548 S       0  0.1 40.8   7:32 emacs
27439 root       0   0  6480 6480  1604 S       0  0.0 21.0   0:02 X
  359 root       8   0 11672 4920   616 S       0  1.5 15.9  89:26 X
21044 root       0   0  6924 4304   528 S       0  0.0 13.9  13:51 X
19450 plinsley   3   0 13112 2672   796 S       0  0.0  8.6  16:26 netscape
		              .
		              .
		              .
                             etc

Oh, there are those 3 culprits you were talking about. It sure looks like 
Emacs is being hungry in it's idle state... *sigh*

[snip]

> And then, if you are a mode junky like me (running
> font-lock, fill-adapt, and auc-tex at once in a buffer),
> you'll probably like
> 
>   (setq gc-cons-threshold 2000000)

That seems to have made things run a bit smoother.

Thanks for your help.

Peter
-------------------------------------------------------------------
Next Nomikai: 14 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
*** it will will be Jan 14 (Thu), as Jan 15 (Fri) is a natl holiday
Next Technical Meeting: Feb 13 (Sat), 12:30    ace: Temple Univ.
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links