Re[3]: jde and emacs memory usage

2004-11-19 Thread Troy Daniels
At 11:02 PM 11/18/2004 -0500, Eric M. Ludlam wrote:
 Raul Acevedo [EMAIL PROTECTED] seems to think that:
Wow, that chart thing is pretty cool.   :)
There are several random chart functions, plus a chart menu item
in the Senator menu.
Is there a reason chart-space-usage explicitly calls csh with 
call-process-region?  My cygwin installation doesn't have csh, only bash 
and sh.  At the very least, you should use shell-file-name.

Troy

Troy Daniels
[EMAIL PROTECTED]
781-273-3388 x218


Re[4]: jde and emacs memory usage

2004-11-19 Thread Eric M. Ludlam
Sounds like a good idea to me.  I'll fix it.

Eric

 Troy Daniels [EMAIL PROTECTED] seems to think that:
At 11:02 PM 11/18/2004 -0500, Eric M. Ludlam wrote:

  Raul Acevedo [EMAIL PROTECTED] seems to think that:
 Wow, that chart thing is pretty cool.   :)

There are several random chart functions, plus a chart menu item
in the Senator menu.

Is there a reason chart-space-usage explicitly calls csh with 
call-process-region?  My cygwin installation doesn't have csh, only bash 
and sh.  At the very least, you should use shell-file-name.

Troy


Troy Daniels
[EMAIL PROTECTED]
781-273-3388 x218


-- 
  Eric Ludlam: [EMAIL PROTECTED], [EMAIL PROTECTED]
   Home: http://www.ludlam.netSiege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net   GNU: www.gnu.org


jde and emacs memory usage

2004-11-18 Thread Raul Acevedo
Right now my Emacs process is using 127 Megs of memory.  While the
*jde-beanshell-scratch* buffer size is 1239491, and another buffer I
have is also just over 1 Meg, the total sum of all my buffers is still
only a few megabytes, I definitely am not consuming anywhere near 100
megabytes in buffers.

What could be taking up all the memory?  How do I free it up?  I've had
emacs run out of memory a few times in the last couple of weeks.

Raul



Re: jde and emacs memory usage

2004-11-18 Thread Suraj Acharya
The jde-beanshell-buffer is something that jde-usages to record the
output of bsh. It's like a *Messages* buffer for the beanshell, but
unlike *Messages* it doesn't clear out old entries.
Adding the equivalent of message-log-size for this buffer is on my to-do list.

You can delete the buffer at any point without any adverse effects.
The next time jde-usages makes a call to bsh it will create the buffer
if it does not exist.

Suraj

On Thu, 18 Nov 2004 11:53:11 -0800, Raul Acevedo [EMAIL PROTECTED] wrote:
 Right now my Emacs process is using 127 Megs of memory.  While the
 *jde-beanshell-scratch* buffer size is 1239491, and another buffer I
 have is also just over 1 Meg, the total sum of all my buffers is still
 only a few megabytes, I definitely am not consuming anywhere near 100
 megabytes in buffers.
 
 What could be taking up all the memory?  How do I free it up?  I've had
 emacs run out of memory a few times in the last couple of weeks.
 
 Raul
 



Re: jde and emacs memory usage

2004-11-18 Thread Raul Acevedo
That's cool... but it's still only about one megabyte.  I still have
close to 100 megabytes of unexplained memory somewhere... any thoughts?

Raul

On Thu, 2004-11-18 at 13:15 -0800, Suraj Acharya wrote:
 The jde-beanshell-buffer is something that jde-usages to record the
 output of bsh. It's like a *Messages* buffer for the beanshell, but
 unlike *Messages* it doesn't clear out old entries.
 Adding the equivalent of message-log-size for this buffer is on my to-do list.
 
 You can delete the buffer at any point without any adverse effects.
 The next time jde-usages makes a call to bsh it will create the buffer
 if it does not exist.
 
 Suraj
 
 On Thu, 18 Nov 2004 11:53:11 -0800, Raul Acevedo [EMAIL PROTECTED] wrote:
  Right now my Emacs process is using 127 Megs of memory.  While the
  *jde-beanshell-scratch* buffer size is 1239491, and another buffer I
  have is also just over 1 Meg, the total sum of all my buffers is still
  only a few megabytes, I definitely am not consuming anywhere near 100
  megabytes in buffers.
  
  What could be taking up all the memory?  How do I free it up?  I've had
  emacs run out of memory a few times in the last couple of weeks.
  
  Raul
  
 



Re[1]: jde and emacs memory usage

2004-11-18 Thread Eric M. Ludlam
Hi,

  Here is something fun to try:

M-x load-library RET chart RET
M-x chart-emacs-storage RET

  It is possible that semantic's tag caches are filling up all your
space.  Check the size of your semanticdb.cache files for a vague clue
of how much string space is being used by semantic.

Eric

 Raul Acevedo [EMAIL PROTECTED] seems to think that:
Right now my Emacs process is using 127 Megs of memory.  While the
*jde-beanshell-scratch* buffer size is 1239491, and another buffer I
have is also just over 1 Meg, the total sum of all my buffers is still
only a few megabytes, I definitely am not consuming anywhere near 100
megabytes in buffers.

What could be taking up all the memory?  How do I free it up?  I've had
emacs run out of memory a few times in the last couple of weeks.

Raul


-- 
  Eric Ludlam: [EMAIL PROTECTED], [EMAIL PROTECTED]
   Home: http://www.ludlam.netSiege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net   GNU: www.gnu.org


Re[3]: jde and emacs memory usage

2004-11-18 Thread Eric M. Ludlam
 Raul Acevedo [EMAIL PROTECTED] seems to think that:
Wow, that chart thing is pretty cool.   :)

There are several random chart functions, plus a chart menu item
in the Senator menu.

It shows strings/2 as taking up 31 Meg, which I assume means 62 Megs
and it shows it as strings/2 so the chart can be shown on a single
buffer when the next biggest item is conses at only 1 Meg.  I have 33
Java buffers averaging 10k each... so that's about 33 Meg, plus 62 Meg
for strings, adds up to 100 Meg right there. 

Why so many strings?

Most semantic.cache files are 50k, the biggest one I found is 150k.

You might have some very large hidden buffers.  Hidden buffers start
with a space character.

Probably your best task is just to get some sort of active monitor up
watching Emacs and see what you do that makes it grow very large.

Eric

Raul

On Thu, 2004-11-18 at 17:46 -0500, Eric M. Ludlam wrote:
 Hi,
 
   Here is something fun to try:
 
 M-x load-library RET chart RET
 M-x chart-emacs-storage RET
 
   It is possible that semantic's tag caches are filling up all your
 space.  Check the size of your semanticdb.cache files for a vague clue
 of how much string space is being used by semantic.
 
 Eric
 
  Raul Acevedo [EMAIL PROTECTED] seems to think that:
 Right now my Emacs process is using 127 Megs of memory.  While the
 *jde-beanshell-scratch* buffer size is 1239491, and another buffer I
 have is also just over 1 Meg, the total sum of all my buffers is still
 only a few megabytes, I definitely am not consuming anywhere near 100
 megabytes in buffers.
 
 What could be taking up all the memory?  How do I free it up?  I've had
 emacs run out of memory a few times in the last couple of weeks.
 
 Raul