unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* How to debug "!MEM FULL!" (Windows, emacs-23.0.92-bin-i386)?
@ 2009-04-04 10:42 Reiner Steib
  2009-04-04 11:51 ` Eli Zaretskii
  2009-04-07 15:10 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Reiner Steib @ 2009-04-04 10:42 UTC (permalink / raw)
  To: emacs-devel

Hi,

with the latest precompiled pretest version for Windows
(http://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-23.0.92-bin-i386.zip),
I got "!MEM FULL!" after doing some VC / PCL-CVS commands (viewing the
revision log, diffs, ...) on rather big files.  The repository is on a
network share, i.e. no pserver, ssh, ... involved.

I'll do a proper M-x report-emacs-bug RET when back on this machine
next week, but I doubt that anyone can help unless I provide more
information.  So my question is: what kind of information is required
to debug "!MEM FULL!" messages?

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





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

* Re: How to debug "!MEM FULL!" (Windows, emacs-23.0.92-bin-i386)?
  2009-04-04 10:42 How to debug "!MEM FULL!" (Windows, emacs-23.0.92-bin-i386)? Reiner Steib
@ 2009-04-04 11:51 ` Eli Zaretskii
  2009-04-04 12:37   ` Reiner Steib
  2009-04-07 15:10 ` Stefan Monnier
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2009-04-04 11:51 UTC (permalink / raw)
  To: Reiner Steib; +Cc: emacs-devel

> From: Reiner Steib <reinersteib+gmane@imap.cc>
> Date: Sat, 04 Apr 2009 12:42:24 +0200
> 
> with the latest precompiled pretest version for Windows
> (http://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-23.0.92-bin-i386.zip),
> I got "!MEM FULL!" after doing some VC / PCL-CVS commands (viewing the
> revision log, diffs, ...) on rather big files.  The repository is on a
> network share, i.e. no pserver, ssh, ... involved.
> 
> I'll do a proper M-x report-emacs-bug RET when back on this machine
> next week, but I doubt that anyone can help unless I provide more
> information.  So my question is: what kind of information is required
> to debug "!MEM FULL!" messages?

"!MEM FULL!" is displayed when malloc returns NULL, meaning there's no
more memory available to Emacs on the system.

So the first thing to report is probably memory-related information,
starting with what the Task Manager or Process Explorer report about
the memory used up by Emacs vs what's available on that system.

The information reported by Sysinternals' VMMap would probably also be
of value.

TIA




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

* Re: How to debug "!MEM FULL!" (Windows, emacs-23.0.92-bin-i386)?
  2009-04-04 11:51 ` Eli Zaretskii
@ 2009-04-04 12:37   ` Reiner Steib
  2009-04-04 14:01     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2009-04-04 12:37 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

[ The following message is a courtesy copy of an article that has
  been posted to news:gmane.emacs.devel as well. ]

On Sat, Apr 04 2009, Eli Zaretskii wrote:

>> From: Reiner Steib <reinersteib+gmane@imap.cc>
[...]
>> So my question is: what kind of information is required
>> to debug "!MEM FULL!" messages?
>
> "!MEM FULL!" is displayed when malloc returns NULL, meaning there's no
> more memory available to Emacs on the system.

After it happened on Emacs 23.0.92, I tried with Emacs 22.3 and
couldn't reproduce the problem.  Then again with Emacs 23.0.92, I
could reproduce it.

> So the first thing to report is probably memory-related information,
> starting with what the Task Manager or Process Explorer report about
> the memory used up by Emacs vs what's available on that system.
>
> The information reported by Sysinternals' VMMap would probably also be
> of value.

Which (command line?) tools from a standard Windows Vista installation
can I use?  I want to avoid to install other tools if possible and I
don't have admin privileges on this system.

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




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

* Re: How to debug "!MEM FULL!" (Windows, emacs-23.0.92-bin-i386)?
  2009-04-04 12:37   ` Reiner Steib
@ 2009-04-04 14:01     ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2009-04-04 14:01 UTC (permalink / raw)
  To: Reiner Steib; +Cc: emacs-devel

> From: Reiner Steib <reinersteib+gmane@imap.cc>
> Cc: emacs-devel@gnu.org
> Date: Sat, 04 Apr 2009 14:37:50 +0200
> Posted-To: gmane.emacs.devel
> 
> > So the first thing to report is probably memory-related information,
> > starting with what the Task Manager or Process Explorer report about
> > the memory used up by Emacs vs what's available on that system.
> >
> > The information reported by Sysinternals' VMMap would probably also be
> > of value.
> 
> Which (command line?) tools from a standard Windows Vista installation
> can I use?  I want to avoid to install other tools if possible and I
> don't have admin privileges on this system.

Task Manager is a standard Windows tool; type Ctrl-Shift-ESC to invoke
it.

VMMap does not need installation, it comes as a single .exe program in
a zip file.  I assume that you at least can add programs to your own
private directory and run them from there.




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

* Re: How to debug "!MEM FULL!" (Windows, emacs-23.0.92-bin-i386)?
  2009-04-04 10:42 How to debug "!MEM FULL!" (Windows, emacs-23.0.92-bin-i386)? Reiner Steib
  2009-04-04 11:51 ` Eli Zaretskii
@ 2009-04-07 15:10 ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2009-04-07 15:10 UTC (permalink / raw)
  To: emacs-devel

> I'll do a proper M-x report-emacs-bug RET when back on this machine
> next week, but I doubt that anyone can help unless I provide more
> information.  So my question is: what kind of information is required
> to debug "!MEM FULL!" messages?

I think the best thing is to try and reproduce them while under
a debugger and place a breakpoint on memory_full which should be the
only place that can set Vmemory_full (which is used to display "MEM
FULL" in the modeline).


        Stefan






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

end of thread, other threads:[~2009-04-07 15:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-04 10:42 How to debug "!MEM FULL!" (Windows, emacs-23.0.92-bin-i386)? Reiner Steib
2009-04-04 11:51 ` Eli Zaretskii
2009-04-04 12:37   ` Reiner Steib
2009-04-04 14:01     ` Eli Zaretskii
2009-04-07 15:10 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).