From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk] Date: Mon, 04 Feb 2008 23:07:57 +0100 Message-ID: <47A78CBD.2000904@alice.it> References: <47A381C7.3000003@alice.it> <47A4C54D.5000602@alice.it> <47A4DEC0.8040406@alice.it> <47A5872A.2030601@alice.it> <47A62BFF.6040806@gnu.org> <47A62EBB.80404@alice.it> <47A6CF4A.9050805@alice.it> <47A6EA5D.8020707@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202164276 10989 80.91.229.12 (4 Feb 2008 22:31:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Feb 2008 22:31:16 +0000 (UTC) Cc: jasonr@gnu.org, mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 04 23:31:31 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JM9qW-0005oJ-Mz for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 23:31:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JM9q4-0001to-Jf for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 17:30:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JM9q0-0001sT-GQ for emacs-devel@gnu.org; Mon, 04 Feb 2008 17:30:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JM9px-0001qW-G9 for emacs-devel@gnu.org; Mon, 04 Feb 2008 17:30:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JM9px-0001qI-9q for emacs-devel@gnu.org; Mon, 04 Feb 2008 17:30:49 -0500 Original-Received: from smtp-out05a.alice.it ([85.33.3.5]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JM9pq-0005l1-9L; Mon, 04 Feb 2008 17:30:42 -0500 Original-Received: from FBCMMO02.fbc.local ([192.168.68.196]) by smtp-OUT05A.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Feb 2008 23:08:26 +0100 Original-Received: from FBCMCL01B04.fbc.local ([192.168.69.85]) by FBCMMO02.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Feb 2008 23:08:29 +0100 Original-Received: from [87.10.222.87] ([87.10.222.87]) by FBCMCL01B04.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Feb 2008 23:08:26 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-OriginalArrivalTime: 04 Feb 2008 22:08:26.0923 (UTC) FILETIME=[77897FB0:01C8677A] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-Greylist: delayed 1328 seconds by postgrey-1.27 at monty-python; Mon, 04 Feb 2008 17:30:39 EST X-Greylist: delayed 1331 seconds by postgrey-1.27 at monty-python; Mon, 04 Feb 2008 17:30:42 EST X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88202 Archived-At: Eli Zaretskii ha scritto: >> Date: Mon, 04 Feb 2008 11:35:09 +0100 >> From: Angelo Graziosi >> CC: Eli Zaretskii , emacs-devel@gnu.org, jasonr@gnu.org >> >> May you suggest an optimal value for STATIC_HEAP_SIZE ? > I have done several tries. With STATIC_HEAP_SIZE 30MB (30*1024*1024) at the end of the build I find: $ find /tmp/ -name "*stackdump*" /tmp/emacs/lisp/international/temacs.exe.stackdump Instead trying 32 MB seems to avoid the stackdump and STATIC_HEAP_SIZE should be >= 32 MB. > How about calling report_sheap_usage from GDB, like so: > > (gdb) call report_sheap_usage(0) > > It should print how much of the static heap is used. By defining a > large value of STATIC_HEAP_SIZE and measuring its usage with this > function, you could estimate the optimal value. I have tried this: gdb /tmp/build/src/temacs (gdb)run --batch --load loadup bootstrap [...] (gdb) call report_sheap_usage(0) Static heap usage: 12486816 of 12582912 bytes But from the result it seems that I have not completely understood how this test should be executed! Sorry! Angelo.