From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36204 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP trouble - and my memory's gone, too... Date: 12 May 2001 11:48:39 +0200 Message-ID: References: <20010512040301.D11221@mail1.kens.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171830 7303 80.91.224.250 (21 Oct 2002 03:43:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:43:50 +0000 (UTC) Cc: The Gnus Mailing List Return-Path: Original-Received: (qmail 26345 invoked by alias); 12 May 2001 09:48:44 -0000 Original-Received: (qmail 26340 invoked from network); 12 May 2001 09:48:43 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 12 May 2001 09:48:43 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.3/8.11.3) with ESMTP id f4C9mjq02705; Sat, 12 May 2001 11:48:45 +0200 Original-To: "Robin S. Socha" In-Reply-To: <20010512040301.D11221@mail1.kens.com> ("Robin S. Socha"'s message of "Sat, 12 May 2001 04:03:01 -0500") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103 Original-Lines: 39 Xref: main.gmane.org gmane.emacs.gnus.general:36204 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36204 "Robin S. Socha" writes: > > The proper solution is to make Gnus wipe out everything (flags, cache, > > agent etc) it knows about the group and sync it from the server again, > > but a backend can't tell Gnus to do that today. So instead nnimap > > asks the user a cryptic question, and whatever the user answers he > > will suspect that he created the problem and not nnimap. :) Not good, > > I know. > > Ok. So what do I do now? To be really sure, rm the NOV cache file and remove the uidvalidity value (`G p'). > > > | (2) (memory/critical) Warning: past 85% of memory limit > > > | 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. > > > > Well, how large is your emacsen? Perhaps the gnus-range functions > > take a lot of memory if it has to operate on a huge range, like > > expanding the range (1 . 10000000). Also, imap.el caches some stuff > > from the server. > > That was 65k messages. HELP! I'm stuck with mutt and vim. Do something. > Please! How large is the memory footprint of emacs? When does the error occur, when entering a summary buffer? Assuming imap.el stores 500 byte for each mail (not unlikely), 65k messages needs 32MB only within imap.el. And building a summary buffer, with threading and whatnot, will probably take some memory as well. Mutt/pine etc only need to hold in memory what you're currently viewing, while Gnus want to hold large parts of the group in memory, so there's no easy fix here. I just entered a nnimap group with 8k messages, and my emacs growed by 10MB. It took about 50 seconds. Entering a nnimap group with 16k messages crashed my emacs (not reproducable though), but on second try emacs grow by about 15MB.