unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9352: GNU/Emacs 23.3, Windows 7: Very huge .emacs-places can cause problems
@ 2011-08-23 16:37 Christoph Conrad
  2011-08-24  4:12 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Conrad @ 2011-08-23 16:37 UTC (permalink / raw)
  To: 9352; +Cc: christoph.conrad

Hi,

after several investigation i found out the reason for crashing my emacs
crashing several times today.

I use

;; Shortcut for saving desktop and saveplaces
(global-set-key (kbd "S-<f9>")
                '( lambda ()
                   (interactive)
                   (save-place-alist-to-file)
                   (desktop-save desktop-dirname)))

sometimes t save my "session". Today emacs showed me a message after
that every time, "memory exhausted", and after two or three times he
crashed repeatable.

After some time i found out that my ".emacs-places" over the years had
reached a size of nearly 50 MB. I deleted it, problem gone.

In GNU Emacs 23.3.1 (i386-mingw-nt4.0.1381)
 of 2011-03-10 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 4.0.1381
configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/imagesupport/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: DEU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t





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

* bug#9352: GNU/Emacs 23.3, Windows 7: Very huge .emacs-places can cause problems
  2011-08-23 16:37 bug#9352: GNU/Emacs 23.3, Windows 7: Very huge .emacs-places can cause problems Christoph Conrad
@ 2011-08-24  4:12 ` Glenn Morris
  2011-08-27  0:52   ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2011-08-24  4:12 UTC (permalink / raw)
  To: Christoph Conrad; +Cc: 9352

"Christoph Conrad" wrote:

> After some time i found out that my ".emacs-places" over the years had
> reached a size of nearly 50 MB. I deleted it, problem gone.

Perhaps the default value for save-place-limit should be changed to
something large-ish but finite. Eg 400?
(I've had it set to 200 for many years with no ill effects.)





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

* bug#9352: GNU/Emacs 23.3, Windows 7: Very huge .emacs-places can cause problems
  2011-08-24  4:12 ` Glenn Morris
@ 2011-08-27  0:52   ` Glenn Morris
  0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2011-08-27  0:52 UTC (permalink / raw)
  To: 9352-done

Version: 24.1

Glenn Morris wrote:

> Perhaps the default value for save-place-limit should be changed to
> something large-ish but finite. Eg 400?

Done.





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

end of thread, other threads:[~2011-08-27  0:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 16:37 bug#9352: GNU/Emacs 23.3, Windows 7: Very huge .emacs-places can cause problems Christoph Conrad
2011-08-24  4:12 ` Glenn Morris
2011-08-27  0:52   ` Glenn Morris

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).