Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 164E3429E21 for ; Fri, 16 Dec 2011 14:02:11 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pkczYyaWOAcl for ; Fri, 16 Dec 2011 14:02:10 -0800 (PST) Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU [18.7.68.36]) by olra.theworths.org (Postfix) with ESMTP id 86F24431FD0 for ; Fri, 16 Dec 2011 14:02:10 -0800 (PST) X-AuditID: 12074424-b7fae6d000000906-8c-4eebbfe27478 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP id 38.D2.02310.2EFBBEE4; Fri, 16 Dec 2011 17:02:10 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id pBGM2AOx001054; Fri, 16 Dec 2011 17:02:10 -0500 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id pBGM29QX023154 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Fri, 16 Dec 2011 17:02:09 -0500 (EST) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1RbfsJ-0005MT-7M; Fri, 16 Dec 2011 17:03:31 -0500 Date: Fri, 16 Dec 2011 17:03:31 -0500 From: Austin Clements To: Nathan Edson Subject: Re: GLib-ERROR Mesage Running notmuch new Message-ID: <20111216220331.GF19427@mit.edu> References: <20111216200714.GA25170@newb> <20111216204529.GA19427@mit.edu> <20111216211237.GA27860@newb> <20111216211734.GB19427@mit.edu> <20111216212622.GA29172@newb> <20111216213815.GD19427@mit.edu> <20111216214337.GB29172@newb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111216214337.GB29172@newb> User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIKsWRmVeSWpSXmKPExsUixCmqrPto/2s/g1sb+Cxadq9jt7h+cyaz A5PH5Y0zGD2erbrFHMAUxWWTkpqTWZZapG+XwJWxfMMOtoIVnBWvpxxmbWBcz97FyMkhIWAi 0bHpNDOELSZx4d56ti5GLg4hgX2MEs8+vGCBcDYwSlxpu8EM4Zxkktj29AI7hLOEUeLHkwYW kH4WAVWJhUceMoLYbAIaEtv2LwezRQRUJDb/6QXbxywgLfHtdzMTiC0sYCSx4O5sVhCbV0BH YsXBW1DrPjFKHH/1jwkiIShxcuYTFohmLYkb/14CxTnABi3/xwES5gQK/12yFaxEFGjXlJPb 2CYwCs1C0j0LSfcshO4FjMyrGGVTcqt0cxMzc4pTk3WLkxPz8lKLdM31cjNL9FJTSjcxgkKb 3UVlB2PzIaVDjAIcjEo8vJnVr/2EWBPLiitzDzFKcjApifIa7wEK8SXlp1RmJBZnxBeV5qQW H2KU4GBWEuF1qgLK8aYkVlalFuXDpKQ5WJTEeRt2PfQTEkhPLEnNTk0tSC2CycpwcChJ8NYD Y1hIsCg1PbUiLTOnBCHNxMEJMpwHaHgdSA1vcUFibnFmOkT+FKMux97P388wCrHk5eelSonz 9oEUCYAUZZTmwc2BpaRXjOJAbwnzdoJU8QDTGdykV0BLmICWbA97AbKkJBEhJdXA6LsnpSq9 a9WGr7oFWaGLpVx270hM3sRmHho/aR178oQ3mlbLzpT8tTeoWn6kyKTnvFTYkT+e/Ovvmeqy G4myBK19e+Hj14PJB5o3STzmsf1hdorJaoa+Ypto7/1ivW3TJ+g/efptQ9+VMsvNKuli32/e 1DT7JX+K426HHHNL35pjGoejHBgalFiKMxINtZiLihMB+J5hSSQDAAA= Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 22:02:11 -0000 Quoth Nathan Edson on Dec 16 at 1:43 pm: > On 12/16/11, Austin Clements wrote: > > notmuch doesn't support mbox files, but an mbox file looks enough like > > a maildir message that notmuch will *try* to index it (but as a > > single, gigantic message). This is certainly the cause of the > > failure. The immediate solution is to move this file out of the tree > > you're indexing with notmuch. > > > > Still, notmuch should fail more gracefully and you are probably > > hitting a real gmime bug (given that it's trying to allocate > > (unsigned)-1 bytes of memory). How big is old.mail? > > old.mail is about 5gb. I guess the file type is the > problem...forgive me, I thought notmuch supported mbox. There has been talk of supporting mbox for archival situations just like this, but it's rather contentious because mbox is a terrible format. Since it's only 40K messages, there would be little overhead in converting it to maildir, which notmuch could index. If you really want to keep it in one file, you could convert it to maildir, pack that maildir into an some archive format, and use FUSE or something similar to mount that archive as a file system.