Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!uhccux!bigtuna!pegasus!tleylan From: tleylan@pegasus.com (Tom Leylan) Newsgroups: comp.databases Subject: Re: Clipper Keywords: clipper Message-ID: <1991Jan12.002731.6149@pegasus.com> Date: 12 Jan 91 00:27:31 GMT References: <1991Jan5.175558.20758@menudo.uh.edu> <1073@anomaly.sbs.com> <8833@uwm.edu> Distribution: comp.databases Organization: Pegasus, Honolulu Lines: 23 In article <8833@uwm.edu> pete@csd4.csd.uwm.edu (Peter T Teresinski) writes: > > I have been trying to compile a large program with clipper 5.0 > to run on an ibm-compatible pc with 500K of ram available. I keep getting > a run-time error "swap space exhausted." The clipper manual does not > discuss run-time errors so I'm not sure what it means. Does anyone know > what this means? > Well Peter, there is a problem with the VMM system of Clipper 5.0, a fix disk is being prepared and is currently in beta test. In the meantime can you pinpoint the line where the error occurs. It usually occurs when some internal requests a large amount of memory, memoedit(), dbedit() and such. I have only encountered the error once (I believe) which was in strtran(), it turned out to be an unnecessary call so I just removed it and everything was fine. If you have compiled a straight S'87 program you can reduce memory and also eliminate some problems by converting the PUBLIC vars to STATIC and PRIVATEs to LOCALs whenever possible. Also convert single vars to arrays if you are not already doing it (well I mean collections of single vars). Are you using .RTLink ? tom