From martin.young@st.com  Mon Jul 10 12:12:22 2000
Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id MAA27974
	for <prolog@swi.psy.uva.nl>; Mon, 10 Jul 2000 12:12:22 +0200 (MET DST)
Received: from thistle.bri.st.com (thistle.bri.st.com [138.198.1.7])
	by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP
	id 59C4348CE; Mon, 10 Jul 2000 10:11:57 +0000 (GMT)
Received: from [138.198.35.37] (helo=ohranj)
	by thistle.bristol.st.com with esmtp (Exim 3.03 #5)
	id 13BaXW-0004CC-00; Mon, 10 Jul 2000 11:11:50 +0100
Recieved: from Martin.Young@st.com by ohranj with local (Exim 3.03 #5)
	id 13BaXW-0007nk-00; Mon, 10 Jul 2000 11:11:50 +0100
From: Martin Young <Martin.Young@st.com>
Message-Id: <1000710111150.ZM29990@bristol.st.com>
Date: Mon, 10 Jul 2000 11:11:50 +0100
In-Reply-To: socher@et-inf.fho-emden.de
        "Global Stack" (Jul 10, 10:17am)
References: <00071010215401.00353@euler>
X-Mailer: Z-Mail (5.0.0 30July97)
To: socher@fho-emden.de, prolog@swi.psy.uva.nl
Subject: Re: Global Stack
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

On Jul 10, 10:17am, socher@et-inf.fho-emden.de wrote:
> When running my program, the prolog interpreter says:
> 	ERROR: Out of global stack.
> What can I do?

You're running out of memory.  You can either add the option "-G<n>M" to your
command line where <n> is the maximum number of megabytes of global stack you
want.  Default is 4.  I often run with "pl -G32M -L32M" which gives me lots of
local stack too.  See the bit about command line options in the reference
manual.

Alternatively, your program has a bug and is recursing out of control.

HTH.

-- 
Martin Young  working for  STMicroelectronics at     `(o)_(o)' The fat wise /
1000 Aztec West, Almondsbury, Bristol, BS32 4SQ.      (  V  ) owl eats only >
+44 1454 462 523    `v'      Martin.Young@st.com      `.___,' clean mice.  /
                   _(_)_                             -="==="=============='

