Return-Path: Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: (qmail 50346 invoked from network); 13 Sep 2007 17:52:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Sep 2007 17:52:03 -0000 Received: (qmail 77406 invoked by uid 500); 13 Sep 2007 17:51:56 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 77374 invoked by uid 500); 13 Sep 2007 17:51:56 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 77360 invoked by uid 99); 13 Sep 2007 17:51:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 10:51:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erik@codefaktor.de designates 62.75.252.62 as permitted sender) Received: from [62.75.252.62] (HELO mail.eatc.de) (62.75.252.62) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 17:51:52 +0000 Received: from [10.0.1.3] (p4FD2DEB6.dip.t-dialin.net [79.210.222.182]) by mail.eatc.de (Postfix) with ESMTP id B8FF813C42 for ; Thu, 13 Sep 2007 19:51:29 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <1404e5910709120712i2864d43cxac783f6fbacd070@mail.gmail.com> References: <1404e5910709120712i2864d43cxac783f6fbacd070@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <00E1F341-6782-4921-9126-3F0399ACDB71@codefaktor.de> Content-Transfer-Encoding: 7bit From: Erik Abele Subject: Re: docs-build and java stack size Date: Thu, 13 Sep 2007 19:51:28 +0200 To: docs@httpd.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On 12.09.2007, at 16:12, Eric Covener wrote: > build.sh has: > >> # raise stack size... >> ANT_OPTS="-Xmx128m -mx128m" > > AFAICT those affect the heap only and to change the native thread > stack size java seems to want -ss/-Xss. Yep, 'java -X' tells: -Xms set initial Java heap size -Xmx set maximum Java heap size -Xss set java thread stack size Though the last time we had any mem-related problems it was sufficient to simply raise the heap. > Adding -Xss10m allowed me to get past java.lang.StackOverflowError > during the docs build. Hmm, considering the default thread stack size of 512kb on Sparc and 256kb on Intel for 1.3 and 1.4 32-bit VMs I think this is a bit too much, no? (Since it quickly adds up to the whole amount of mem used...) Does it also work with 1mb, 2mb or 4mb? Ah, and just out of interesst, what does 'ulimit -s' say for you? On OS X it's 8192k so 10m is kind of moot here anyway, though shouldn't do any harm :) Cheers, Erik --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org