From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: maximum buffer size exceeded Date: Mon, 03 Sep 2007 18:18:03 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87ejhgdux0.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188808905 8307 80.91.229.12 (3 Sep 2007 08:41:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2007 08:41:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 03 10:41:44 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IS7V5-0004yu-4h for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Sep 2007 10:41:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IS7V3-0001IL-Oq for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Sep 2007 04:41:37 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!sn-xt-sjc-03!sn-xt-sjc-11!sn-xt-sjc-09!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:B21DM+QmZ1j9f8tsDclFybcA3rw= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 43 Original-Xref: shelby.stanford.edu gnu.emacs.help:151618 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47142 Archived-At: dbast0s@yahoo.com.br (Daniel C. Bastos) writes: > Emilio Lopes writes: > >> Daniel C Bastos writes: >> >>> I'm dealing with an INBOX of size 252 MiB and I expect it to double on >>> my next mail downloads. I use VM under the GNU emacs. How can I increase >>> the buffer? >> >> Does VM support other formats for mail boxes? You could try using the >> MH format for your mail boxes, if VM supports it. It stores one >> message per file. > > I think does; and that's a good idea. Thanks. I'm pretty sure your out of luck - VM doesn't support mh or maildir folders as far as I know. If your running on a 32 bit machine, I think your out of luck. You cannot increase the maximum buffer size. Under Emacs, I *think* you are limited to a maximum integer you can represent with 28 bits. If your on a 64 bit system, its the maximum you can represent with 62 bits. Note that there is a difference between emacs and XEmacs. I believe XEmacs has the ability to represent 31 bit integers using some trickery with tag bits. The best suggestion I have is to use some other editor to open your mail file and split it into two files at a sensible position (i.e. between messages. You should then be able to open these files with VM and sort them into smaller folders. I'd suggest using something like procmail to split your download - maybe use fetchmail/getmail to retrieve the mail and split it into different folders. Of course, if you have access to a 64 bit machine, you could move your folder there, run a 64 bit verion of emacs and split things how you want, move it back and your done - a hassle, but a solution none th eless. Tim -- tcross (at) rapttech dot com dot au