Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!peruvian.utah.edu!tmurphy From: tmurphy%peruvian.utah.edu@cs.utah.edu (Thomas Murphy) Newsgroups: comp.lang.prolog Subject: Re: ESL Memory Problems? Keywords: MS/DOS Prolog Expert_Systems_Ltd garbage_collection Message-ID: <1991Apr9.231311.20365@hellgate.utah.edu> Date: 10 Apr 91 05:13:11 GMT References: <1991Apr9.163312.29082@cbnewsd.att.com> Organization: University of Utah CS Dept., Salt Lake City Lines: 25 In article <1991Apr9.163312.29082@cbnewsd.att.com> tracy@cbnewsd.att.com (kim.tracy) writes: > >I've been using Expert Systems Ltd's MS/DOS Prolog-2 public domain >interpreter for a class that I've been teaching and one of my >students ran across the following problem: > > The Prolog-2 interpreter will run out of space and not > be able to fully recover. Even exiting (halting) Prolog-2 > and rerunning Prolog-2 does not clean up the system and > it will immediately run out of memory when the debugger > is again started up. The problem disappears when MS/DOS > is reset and the program will run fine. It appears that > Prolog-2 is not properly reinitializing and maintaining > some memory-resident data structure. > >Any further information on this problem (or a fix!) would be >greatly appreciated. What version of dos? number of buffers and files set in config.sys are you using ems? how much total memory? Often when programs run out of memory they kill some of the system stuff before dying or also when put past their limit they can exit in a non-standard way there by leaving allocated memory that is no longer needed..... murph