From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: clemens fischer Newsgroups: gmane.emacs.help Subject: exceeding lisp pointer size? Date: Wed, 11 Jun 2003 11:52:18 +0200 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055343140 19902 80.91.224.249 (11 Jun 2003 14:52:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2003 14:52:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 11 16:52:17 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Q6r9-0004WG-00 for ; Wed, 11 Jun 2003 16:45:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Q6sl-00034y-ED for gnu-help-gnu-emacs@m.gmane.org; Wed, 11 Jun 2003 10:47:23 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Q6sQ-0002jM-Js for help-gnu-emacs@gnu.org; Wed, 11 Jun 2003 10:47:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Q6sO-0002iB-BT for help-gnu-emacs@gnu.org; Wed, 11 Jun 2003 10:47:00 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Q6sI-0002XX-Pp for help-gnu-emacs@gnu.org; Wed, 11 Jun 2003 10:46:54 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Q6lz-000422-00 for ; Wed, 11 Jun 2003 16:40:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Q3Au-0002K6-00 for ; Wed, 11 Jun 2003 12:49:52 +0200 Original-Lines: 36 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (berkeley-unix) Cancel-Lock: sha1:HBLIhaQ+ctiwo5CxIqdhnKniYnk= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10853 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10853 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