Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!europa.chnt.gtegsc.com!news.sprintlink.net!news.ecrc.de!ecrc!news
From: micha@ecrc.de (Micha Meier)
Subject: Re: memory in sicstus prolog
Message-ID: <DArsLq.8u2@ecrc.de>
Sender: news@ecrc.de
Reply-To: micha@ecrc.de
Organization: European Computer-Industry Research Centre
References: <3se8d4$m0@lyra.csx.cam.ac.uk>
Date: Mon, 26 Jun 1995 07:53:49 GMT
Lines: 22

In article m0@lyra.csx.cam.ac.uk, dns11@eng.cam.ac.uk (D.N. Sann) writes:
> Hi, 
> 	I have written some code and am using sicstus prolog.
> The code has to continually assert and retract a lot of clauses - this seems to
> be the source of the problem. The problem is that the prolog implementation is 
> eating all the available memory, even when garbage collection is forced the amount
>  of memory used by the program keeps increasing even though the size of the code 
> is more or less constant.

It seems that your program is a good test for the dynamic database, could you maybe
make it available for ftp somewhere? 

--Micha


---
Micha Meier			------------------------------------------------
ECRC, Arabellastr. 17		The opinions expressed above are private
D-81925 Munich 81		and may not reflect those of my employer.
micha@ecrc.de, Tel. +49-89-92699-108, Fax  +49-89-92699-170


