From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: unfrostedpoptart Newsgroups: gmane.emacs.help Subject: clear the kill-ring and free memory? Date: Thu, 12 Sep 2013 11:47:38 -0700 (PDT) Message-ID: <53036360-fe7a-4c1d-90cb-bf9f79a07982@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1379011823 27448 80.91.229.3 (12 Sep 2013 18:50:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2013 18:50:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 12 20:50:27 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VKBy8-0003tr-V9 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 20:50:21 +0200 Original-Received: from localhost ([::1]:43347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKBy8-0002dC-JL for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 14:50:20 -0400 X-Received: by 10.66.221.137 with SMTP id qe9mr4265519pac.4.1379011659521; Thu, 12 Sep 2013 11:47:39 -0700 (PDT) X-Received: by 10.50.80.78 with SMTP id p14mr449464igx.6.1379011659115; Thu, 12 Sep 2013 11:47:39 -0700 (PDT) Original-Path: usenet.stanford.edu!b4no14564728pbq.1!news-out.google.com!z6ni48021pbu.0!nntp.google.com!y3no20002833pbx.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=68.99.177.206; posting-account=S61AnQkAAADt4_PSYpI-Tm-z1E4cd7xa Original-NNTP-Posting-Host: 68.99.177.206 User-Agent: G2/1.0 Injection-Date: Thu, 12 Sep 2013 18:47:39 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:201089 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93358 Archived-At: Hi. I've been having a lot of emacs (24.3.1 linux) hangs/crashes/cpu-hogging related to too much stuff in the kill-ring. I'm looking for a nice, safe way to empty it. I've searched around a lot and haven't seen a good solution. There's (setq kill-ring nil) (garbage-collect) but I don't know if that would leave some clipboard functions/variables in an illegal state. Thanks! David