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

Re: Emacs has hard time with big text files



On Fri, Sep 05, 2008 at 03:21:16PM -0500, Mike McCarty wrote:
> Tzafrir Cohen wrote:
> >But why is so much memory used in the first place?

Memory is not problem in this case. Even that I have little RAM for
todays standard (192M on PII) I rarely see any swap used.

Where are the times when one leader in computer industry stated that
640K of RAM should be enough for anyone? :)

What do you guys use all that gigabytes of RAM for?
(except for games - never enough RAM or CPU power for that!)

> symptoms. Even if swap is being used, it may not
> be the cause of his symptoms.

The problem was that I have settings to activate flyspell mode when
opening text file. As soon as I deactivated flyspell mode emacs become
responsive again. But it was hard to figure that out!

Thank you for your effort. It was not sure if emacs has some issues
with big files or it was me. As it turn out it was my configuration.

Just for curious bellow is what top say on freshly rebooted system. 

Martin 

top - 09:41:59 up 18 min,  1 user,  load average: 0.36, 0.29, 0.19
Tasks:  66 total,   2 running,  64 sleeping,   0 stopped,   0 zombie
Cpu(s): 99.3%us,  0.7%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    192004k total,   188492k used,     3512k free,     5712k buffers
Swap:   262136k total,        0k used,   262136k free,    96232k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2626 boza      25   0 61544  55m 3096 R 98.7 29.5   1:41.56 emacs
 2715 boza      15   0  2224 1112  860 R  1.0  0.6   0:00.19 top
 2194 root      15   0 28940 7840 4736 S  0.3  4.1   0:03.30 Xorg
 2616 boza      15   0  9180 3032 2212 S  0.3  1.6   0:01.10 xterm
    1 root      15   0  1944  648  556 S  0.0  0.3   0:03.05 init
    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    3 root      39  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
 


Reply to: