From Lesta@t-online.de  Sat Dec 18 17:06:05 1999
Received: from mailout03.sul.t-online.de (mailout03.sul.t-online.de [194.25.134.81])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id RAA17770
	for <prolog@swi.psy.uva.nl>; Sat, 18 Dec 1999 17:06:04 +0100 (MET)
Received: from fwd04.sul.t-online.de 
	by mailout03.sul.t-online.de with smtp 
	id 11zMMx-0000hh-01; Sat, 18 Dec 1999 17:06:07 +0100
Received: from t-online.de (05121269112-0001@[62.158.100.132]) by fwd04.sul.t-online.de
	with esmtp id 11zMMn-1m9jiCC; Sat, 18 Dec 1999 17:05:57 +0100
Message-ID: <385BB0D0.E3C4F63E@t-online.de>
Date: Sat, 18 Dec 1999 17:05:36 +0100
From: Lesta@t-online.de (Uwe Lesta)
X-Mailer: Mozilla 4.05 [de]C-DT  (Win95; I)
MIME-Version: 1.0
To: Fangzhen Lin <flin@cs.ust.hk>
CC: prolog@swi.psy.uva.nl
Subject: Re: setting local goal stack limit on Win95
References: <199912170959.RAA20404@cssu67.cs.ust.hk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: 05121269112-0001@t-dialin.net

Fangzhen Lin schrieb:
> 
> Hi. I'm using SWI-Prolog 2.7.16 on Win95. Is there any way for me to
> increase the local stack and global stack limits of the compiler/interpreter?

Yes.

From the "Reference Manual" section "2.4 Command line options"


-Lsize[km]
     Give local stack limit (2 Mbytes default).
     Note that there is no space between the size option
     and its argument. By default, the argument is interpreted
     in Kbytes. Postfixing the argument with m causes the argument
     to be interpreted in Mbytes. The following example specifies 32
     Mbytes local stack. 

          % pl -L32m

     A maximum is useful to stop buggy programs from claiming all 
     memory resources. -L0 sets the limit to the highest possible
     value. See section  2.16. 

-Gsize[km]
     Give global stack limit (4 Mbytes default). See -L for more details. 


-- 


Regards

Uwe
Lesta@t-online.de

