From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#8884: closed (Re: bug#8884: wide-int crash) Date: Tue, 18 Oct 2011 18:47:25 -0700 Organization: UCLA Computer Science Department Message-ID: <4E9E2C2D.6090000@cs.ucla.edu> References: <4D3AFF8D-3F70-4C2C-A053-49C3FB2C1167@Freenet.DE> <90642F8F-4E64-4EE8-ADEF-4140147845B4@Freenet.DE> <4E9D11DA.7000303@cs.ucla.edu> <23C33A8D-E7C1-49A1-9477-12AC9826BA06@Freenet.DE> <4E9D9D8D.6020306@cs.ucla.edu> <344ABBE3-5E69-44D6-8330-BF200B3FDEAD@Freenet.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318988892 19425 80.91.229.12 (19 Oct 2011 01:48:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 01:48:12 +0000 (UTC) Cc: 8884@debbugs.gnu.org To: Peter Dyballa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 03:48:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGLGJ-0004ve-K2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 03:48:07 +0200 Original-Received: from localhost ([::1]:60617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGLGJ-0008HO-7u for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2011 21:48:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGLGF-0008H4-Nm for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 21:48:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGLGD-0006ND-T2 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 21:48:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGLGD-0006N9-Q7 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 21:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGLHB-0007ax-JO for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 21:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2011 01:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8884 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8884-submit@debbugs.gnu.org id=B8884.131898891629163 (code B ref 8884); Wed, 19 Oct 2011 01:49:01 +0000 Original-Received: (at 8884) by debbugs.gnu.org; 19 Oct 2011 01:48:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGLGl-0007aK-GA for submit@debbugs.gnu.org; Tue, 18 Oct 2011 21:48:35 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGLGi-0007a6-R4 for 8884@debbugs.gnu.org; Tue, 18 Oct 2011 21:48:34 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 93F9D39E8007; Tue, 18 Oct 2011 18:47:26 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p60QpOI68fUR; Tue, 18 Oct 2011 18:47:25 -0700 (PDT) Original-Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id DBE6D39E8006; Tue, 18 Oct 2011 18:47:25 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Thunderbird/3.1.15 In-Reply-To: <344ABBE3-5E69-44D6-8330-BF200B3FDEAD@Freenet.DE> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 18 Oct 2011 21:49:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52825 Archived-At: On 10/18/11 14:41, Peter Dyballa wrote: > With Mac OS X 10.5.8 and a PowerPC 7447A CPU GNU Emacs 24.0.90 > launched with -Q can open (tar) files up to 2,047 MB. Ls reports > that 2,147,450,880 is OK and 2,148,024,320 is too much (2,048 > MB). 2**31 is 2,147,483,648. Yes, that sounds about right. There's a ~2**31 byte buffer size limit due to PTRDIFF_MAX, and Emacs itself enforces this limit. > emacs(84226) malloc: *** mmap(size=2113650688) failed (error code=12) > *** error: can't allocate region > *** set a breakpoint in malloc_error_break to debug I'm not familiar with this error format, but I expect it's some Mac OS X thing. Possibly Mac OS malloc stops working around 2 GiB. Or perhaps your applications have a system-imposed limit (try the shell command "ulimit -a"). > I would have thought GNU Emacs could clear all for the file > allocated memory... There were still 8 or 9 GB disk space available > for swap/vm to grow, A single 32-bit process can't possibly allocate more than 4 GiB of address space, so as long as there's plenty of swap space (which there appears to be), it's an address-space limit you're running into, not a swap-space limit.