all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs22 takes too much memory
@ 2006-12-17 17:11 Ronald
  2006-12-17 17:13 ` I installed it this way Ronald
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Ronald @ 2006-12-17 17:11 UTC (permalink / raw)


130MB

what's in use is:
a. two tiny .c files
b. cedet (semantic on)
c. eshell
d. other buffers opened automatically (scratch,Message,Completions)

Why?

^ permalink raw reply	[flat|nested] 14+ messages in thread

* I installed it this way
  2006-12-17 17:11 emacs22 takes too much memory Ronald
@ 2006-12-17 17:13 ` Ronald
  2006-12-17 17:17 ` It's being opened nearlly half a day Ronald
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 14+ messages in thread
From: Ronald @ 2006-12-17 17:13 UTC (permalink / raw)




./configure --with-gtk --with-xft --x-includes=/usr/include/X11 
--x-libraries=/usr/lib/X11
make bootstrap
make install

^ permalink raw reply	[flat|nested] 14+ messages in thread

* It's being opened nearlly half a day ...
  2006-12-17 17:11 emacs22 takes too much memory Ronald
  2006-12-17 17:13 ` I installed it this way Ronald
@ 2006-12-17 17:17 ` Ronald
  2006-12-17 17:26 ` emacs22 takes too much memory Ralf Angeli
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 14+ messages in thread
From: Ronald @ 2006-12-17 17:17 UTC (permalink / raw)


for testing with tiny .c files

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 17:11 emacs22 takes too much memory Ronald
  2006-12-17 17:13 ` I installed it this way Ronald
  2006-12-17 17:17 ` It's being opened nearlly half a day Ronald
@ 2006-12-17 17:26 ` Ralf Angeli
  2006-12-17 17:46   ` Ronald
  2006-12-17 19:01 ` Peter Dyballa
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 14+ messages in thread
From: Ralf Angeli @ 2006-12-17 17:26 UTC (permalink / raw)


Eats
Memory
As
Continuous
Snack

-- 
Ralf

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 17:26 ` emacs22 takes too much memory Ralf Angeli
@ 2006-12-17 17:46   ` Ronald
  2006-12-17 18:00     ` Ralf Angeli
  0 siblings, 1 reply; 14+ messages in thread
From: Ronald @ 2006-12-17 17:46 UTC (permalink / raw)


Ralf Angeli wrote:
> Eats
> Memory
> As
> Continuous
> Snack
> 
Why? I've kill all other buffers already.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 17:46   ` Ronald
@ 2006-12-17 18:00     ` Ralf Angeli
  2006-12-17 18:34       ` Ronald
  0 siblings, 1 reply; 14+ messages in thread
From: Ralf Angeli @ 2006-12-17 18:00 UTC (permalink / raw)


* Ronald (2006-12-17) writes:

> Ralf Angeli wrote:
>> Eats
>> Memory
>> As
>> Continuous
>> Snack
>> 
> Why? I've kill all other buffers already.

That was a joke (cf. etc/JOKES).  Compared to many "current" programs
Emacs is actually quite lean; at least under the conditions I've used
it.  I suggest you try to find out which conditions or add-ons trigger
the high memory by starting with an empty .emacs file and enabling
features one after the other.

And please don't send any courtesy copies of your posts via email to
me.  I'm reading this list as a newsgroup (and I'm not talking about
Gmane here).

-- 
Ralf

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 18:00     ` Ralf Angeli
@ 2006-12-17 18:34       ` Ronald
  2006-12-17 18:49         ` Ralf Angeli
  2006-12-17 19:17         ` Reiner Steib
  0 siblings, 2 replies; 14+ messages in thread
From: Ronald @ 2006-12-17 18:34 UTC (permalink / raw)


> That was a joke (cf. etc/JOKES).  Compared to many "current" programs
> Emacs is actually quite lean; at least under the conditions I've used
> it.  I suggest you try to find out which conditions or add-ons trigger
> the high memory by starting with an empty .emacs file and enabling
> features one after the other.

It's about 10MB at first. I have no idea why I grows so much. 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 18:34       ` Ronald
@ 2006-12-17 18:49         ` Ralf Angeli
  2006-12-17 19:17         ` Reiner Steib
  1 sibling, 0 replies; 14+ messages in thread
From: Ralf Angeli @ 2006-12-17 18:49 UTC (permalink / raw)


* Ronald (2006-12-17) writes:

>> That was a joke (cf. etc/JOKES).  Compared to many "current" programs
>> Emacs is actually quite lean; at least under the conditions I've used
>> it.  I suggest you try to find out which conditions or add-ons trigger
>> the high memory by starting with an empty .emacs file and enabling
>> features one after the other.
>
> It's about 10MB at first.

Here as well.  And it usually does not become larger than 25 or 30MB.
But these values certainly depend on what one is doing with Emacs and
which parts and add-ons are involved.

> I have no idea why I grows so much. 

That's why you should monitor memory usage and relate its growth to
actions you are performing.  Without such information it's difficult
to identify the ultimate cause of it.

-- 
Ralf

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 17:11 emacs22 takes too much memory Ronald
                   ` (2 preceding siblings ...)
  2006-12-17 17:26 ` emacs22 takes too much memory Ralf Angeli
@ 2006-12-17 19:01 ` Peter Dyballa
  2006-12-17 20:38   ` Eli Zaretskii
  2006-12-18 13:31 ` Robert Thorpe
  2006-12-19  2:13 ` Mark Hood
  5 siblings, 1 reply; 14+ messages in thread
From: Peter Dyballa @ 2006-12-17 19:01 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 17.12.2006 um 18:11 schrieb Ronald:

> 130MB

You have the wrong OS. 70 MB on Mac OS X. And 22.0.90 has a much  
smaller footprint than 22.0.50.

--
Greetings

   Pete

Wasting time is an important part of living.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 18:34       ` Ronald
  2006-12-17 18:49         ` Ralf Angeli
@ 2006-12-17 19:17         ` Reiner Steib
  1 sibling, 0 replies; 14+ messages in thread
From: Reiner Steib @ 2006-12-17 19:17 UTC (permalink / raw)


On Sun, Dec 17 2006, Ronald wrote:

>> That was a joke (cf. etc/JOKES).  Compared to many "current" programs
>> Emacs is actually quite lean; at least under the conditions I've used
>> it.  I suggest you try to find out which conditions or add-ons trigger
>> the high memory by starting with an empty .emacs file and enabling
>> features one after the other.
>
> It's about 10MB at first. I have no idea why I grows so much. 

What's the value of `pure-space-overflow'?
See `<f1> v pure-space-overflow RET'.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 19:01 ` Peter Dyballa
@ 2006-12-17 20:38   ` Eli Zaretskii
  2006-12-17 21:11     ` Peter Dyballa
  0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2006-12-17 20:38 UTC (permalink / raw)


> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Sun, 17 Dec 2006 20:01:06 +0100
> Cc: help-gnu-emacs@gnu.org
> 
> Am 17.12.2006 um 18:11 schrieb Ronald:
> 
> > 130MB
> 
> You have the wrong OS. 70 MB on Mac OS X.

I don't think it is normal for Emacs to take 130MB on _any_ supported
OS, no matter if it's right or wrong.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 20:38   ` Eli Zaretskii
@ 2006-12-17 21:11     ` Peter Dyballa
  0 siblings, 0 replies; 14+ messages in thread
From: Peter Dyballa @ 2006-12-17 21:11 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 17.12.2006 um 21:38 schrieb Eli Zaretskii:

>> From: Peter Dyballa <Peter.Dyballa@Web.DE>
>> Date: Sun, 17 Dec 2006 20:01:06 +0100
>> Cc: help-gnu-emacs@gnu.org
>>
>> Am 17.12.2006 um 18:11 schrieb Ronald:
>>
>>> 130MB
>>
>> You have the wrong OS. 70 MB on Mac OS X.
>
> I don't think it is normal for Emacs to take 130MB on _any_ supported
> OS, no matter if it's right or wrong.

Actually I think both numbers are incorrect – or is top able to count  
exactly the used functions from some open and shared library? GNU  
Emacs 22.0.91's private memory use is around 24 MB, 48 MB is virtual  
memory, 8 MB are shared with other processes (shell?), and almost 30  
MB are physical RAM.

Making any Emacs use GTK makes it a memory hog: ¼ GB seems possible ...


I already receive enough spam – nevertheless, Eli, could you make  
your eMail client hide eMail addresses?

--
Greetings

   Pete

Time flies like an error -- but fruit flies like a banana!
                              (almost Groucho Marx)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 17:11 emacs22 takes too much memory Ronald
                   ` (3 preceding siblings ...)
  2006-12-17 19:01 ` Peter Dyballa
@ 2006-12-18 13:31 ` Robert Thorpe
  2006-12-19  2:13 ` Mark Hood
  5 siblings, 0 replies; 14+ messages in thread
From: Robert Thorpe @ 2006-12-18 13:31 UTC (permalink / raw)


Ronald wrote:
> 130MB
>
> what's in use is:
> a. two tiny .c files
> b. cedet (semantic on)
> c. eshell
> d. other buffers opened automatically (scratch,Message,Completions)
>
> Why?

I can think of three possible reasons:-
* Top is reporting it wrong.  Top is notoriously inaccurate for
programs that use a lot of libraries.  In some circumstances it just
does program_space + library_space.  Check how much memory a simple
GTK+ app appears to be using, if it says ~100MB then that's the problem
* GTK+ another fairly notorious bit of software.  AFAIK It can consume
a lot of memory if used in ways the authors were not expecting.  Maybe
try the Xaw version?
* CEDET.  Maybe there is a strange interaction between new Emacs and
CEDET?  CEDET also uses a lot of memory, but it shouldn't use this much.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs22 takes too much memory
  2006-12-17 17:11 emacs22 takes too much memory Ronald
                   ` (4 preceding siblings ...)
  2006-12-18 13:31 ` Robert Thorpe
@ 2006-12-19  2:13 ` Mark Hood
  5 siblings, 0 replies; 14+ messages in thread
From: Mark Hood @ 2006-12-19  2:13 UTC (permalink / raw)


Ronald <followait@163.com> writes:
> 130MB

Haven't tried emacs22 yet, but I'm reading this group and composing
this article with emacs21 running on an Linksys NSLU2 network
appliance with 32MB of physical memory, and it runs just fine.  This
emacs is compiled with the X toolkit and is being displayed to a X
server via ssh tunneling through a corporate firewall.

top says that Emacs is using 40% of available memory.

I guess the point I'm making is that Emacs works pretty well even with
extremely limited memory resources.

-- Mark

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-12-19  2:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-17 17:11 emacs22 takes too much memory Ronald
2006-12-17 17:13 ` I installed it this way Ronald
2006-12-17 17:17 ` It's being opened nearlly half a day Ronald
2006-12-17 17:26 ` emacs22 takes too much memory Ralf Angeli
2006-12-17 17:46   ` Ronald
2006-12-17 18:00     ` Ralf Angeli
2006-12-17 18:34       ` Ronald
2006-12-17 18:49         ` Ralf Angeli
2006-12-17 19:17         ` Reiner Steib
2006-12-17 19:01 ` Peter Dyballa
2006-12-17 20:38   ` Eli Zaretskii
2006-12-17 21:11     ` Peter Dyballa
2006-12-18 13:31 ` Robert Thorpe
2006-12-19  2:13 ` Mark Hood

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.