all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* exceeding lisp pointer size?
@ 2003-06-11  9:52 clemens fischer
  0 siblings, 0 replies; 4+ messages in thread
From: clemens fischer @ 2003-06-11  9:52 UTC (permalink / raw)


i got a warning from my trusty emacs-21 on freebsd:

  Warning: memory in use exceeds lisp pointer size
  Killing some buffers may delay running out of memory.
  However, certainly by the time you receive the 95% warning,
  you should clean up, kill this Emacs, and start a new one.

this is not always reproducable, but it usually happens when
pasting/yanking large (X-)selections (a few hundred lines).  it
happened specifically when answering a X509 related message in gnus
where i wanted to keep details of the certificate chain.  gnus message
mode sees the pgg generated verification result line and folds/unfolds
its contents, but the same problem appears when using Xclip(1) to
stash a large X-selection from a file and trying to paste it into some
emacs buffer.  emacs doesn't actually finish the yank, and it takes
about a minute before showing the warning.  nothing is lost and i can
keep using the (damaged?) emacs session, but i cannot get it to handle
kill items of size bigger than about 100 .. 200 lines!

whatever:  this is an emacs, not a gnus problem.  i would like to know
which variable i could frob to allow emacs more room.  my ~/.emacs
contains:

      ;;; Raise the default
      ;(setq gc-cons-threshold 1000000) ; 400000
      garbage-collection-messages nil
      max-specpdl-size 6555       ; Gnus
      max-lisp-eval-depth 555     ; default: 300
      kill-ring-max 133

i have browse-kill-ring and CUA-mode, and the warning has never
appeared before starting to use CUA-mode, _i think_!

thanks,

  clemens

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

* Re: exceeding lisp pointer size?
       [not found] <mailman.7702.1055342831.21513.help-gnu-emacs@gnu.org>
@ 2003-06-11 19:18 ` Kai Großjohann
  2003-11-14 13:37   ` Clemens Fischer
       [not found]   ` <mailman.67.1068820963.399.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Kai Großjohann @ 2003-06-11 19:18 UTC (permalink / raw)


clemens fischer <ino-qc@spotteswoode.dnsalias.org> writes:

> i got a warning from my trusty emacs-21 on freebsd:
>
>   Warning: memory in use exceeds lisp pointer size
>   Killing some buffers may delay running out of memory.
>   However, certainly by the time you receive the 95% warning,
>   you should clean up, kill this Emacs, and start a new one.
>
> this is not always reproducable, but it usually happens when
> pasting/yanking large (X-)selections (a few hundred lines).

Fascinating.  I get it after `J s' in Gnus.  More and more people get
it -- perhaps it's an Emacs issue instead of a Gnus issue?  But you
use a current Gnus, too.
-- 
This line is not blank.

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

* Re: exceeding lisp pointer size?
  2003-06-11 19:18 ` Kai Großjohann
@ 2003-11-14 13:37   ` Clemens Fischer
       [not found]   ` <mailman.67.1068820963.399.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Clemens Fischer @ 2003-11-14 13:37 UTC (permalink / raw)


* 2003-06-11 Kai Großjohann:

> clemens fischer <ino-qc@spotteswoode.dnsalias.org> writes:
>
>> i got a warning from my trusty emacs-21 on freebsd:
>>
>>   Warning: memory in use exceeds lisp pointer size
>>   Killing some buffers may delay running out of memory.
>>   However, certainly by the time you receive the 95% warning,
>>   you should clean up, kill this Emacs, and start a new one.
>>
>> this is not always reproducable, but it usually happens when
>> pasting/yanking large (X-)selections (a few hundred lines).
>
> Fascinating.  I get it after `J s' in Gnus.  More and more people get
> it -- perhaps it's an Emacs issue instead of a Gnus issue?  But you
> use a current Gnus, too.

it just got even more fascinating:  if i use xsel(1), no error is
flashed and the pasting works.  but this used to happen everywhere in
emacs, not only gnus.

(emacs-version)
"GNU Emacs 21.3.1 (i386-unknown-freebsd4.8, X toolkit, Xaw3d scroll
 bars) of 2003-08-10"

  clemens

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

* Re: exceeding lisp pointer size?
       [not found]   ` <mailman.67.1068820963.399.help-gnu-emacs@gnu.org>
@ 2003-11-14 17:28     ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2003-11-14 17:28 UTC (permalink / raw)


>>> i got a warning from my trusty emacs-21 on freebsd:
>>> 
>>> Warning: memory in use exceeds lisp pointer size

It's a bad interaction between Emacs and FreeBSD.  I have a
fix for it for Emacs-CVS, but it's not quite ready yet.
Tell me if you want to try it out when it's ready.


        Stefan

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

end of thread, other threads:[~2003-11-14 17:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-11  9:52 exceeding lisp pointer size? clemens fischer
     [not found] <mailman.7702.1055342831.21513.help-gnu-emacs@gnu.org>
2003-06-11 19:18 ` Kai Großjohann
2003-11-14 13:37   ` Clemens Fischer
     [not found]   ` <mailman.67.1068820963.399.help-gnu-emacs@gnu.org>
2003-11-14 17:28     ` Stefan Monnier

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.