Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!samsung!sol.ctr.columbia.edu!emory!gatech!rutgers!orstcs!usenet!jacobs.CS.ORST.EDU!keffert From: keffert@jacobs.CS.ORST.EDU (Thomas Keffer) Newsgroups: comp.lang.c++ Subject: Re: Turbo C++ & Zortech C++ memory problems Keywords: memory, inline code Message-ID: <1991Jan11.012900.12813@usenet@scion.CS.ORST.EDU> Date: 11 Jan 91 01:29:00 GMT References: <6818@tekred.CNA.TEK.COM> <1991Jan10.143902.23969@msuinfo.cl.msu.edu> Sender: @usenet@scion.CS.ORST.EDU Organization: Oregon State University, CS Dept. Lines: 23 Nntp-Posting-Host: jacobs.cs.orst.edu In article <1991Jan10.143902.23969@msuinfo.cl.msu.edu> bourd@galaxy.cps.msu.edu (Robert Bourdeau) writes: >In article <6818@tekred.CNA.TEK.COM>, waynet@tekred.CNA.TEK.COM (Wayne >Turner) writes: >|> We are developing a commercial application under DOS using >|> Turbo C++ Version 1.01 and are consistently running into "Out >|> of memory", "Not enough memory" errors from the command-line >|> versions of the compiler and linker. The application itself is >|> not huge--the source consists of about 5-6K lines and the >|> current .EXE takes up about 360K bytes when loaded. >|> > >Following up on your problems with TurboC++, I too have had the same problems. >The application which I have been involved in developing is currently >about 10K lines of my own source code not considering the class library >and include files. The class hierarchy which I have developed >is approximately 7 levels deep at the greatest. We encountered this problem while checking out Tools.h++ on Turbo C++. It's a bug being tickled by your code --- the memory limitation is not real. Try commenting out various parts of your code, looking for the offending statements. -tk