🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5181

TP memory problems

#5181
From: rocker
Date: Thu, 14 Mar 1991 20:45
20 lines
1287 bytes
I am finially nearing the end of a rather larger (>3500 lines) Turbo pascal 
5.5 program.  Throughout development, I've ran into many memory problems. 
Thanks to anothe UseNetter, I learned I had to put a

	STACKS=18,256       (was 18,128 until last week, defult is 9,??)

The last thing I need to add is a backup capability.  I was going to the 
program write and EXEC a .BAT file, but I don't think I can give EXEC enough
memory.  If I use $M to set heapmax low enough for EXEC, ny NEWs barf, if 
it's not high enough EXEC does not run, DOSERROR=8.

All I have in the .BAT is three COPY *.xxx commands, anyway to do this 
without re-starting COMMAND.COM?

This program has many varibles, both static and dynamic, and has its own
timer interupt handler.  

Any halp is greatly appreaciated.

ronnie
Technical Details
Message-ID: <1991Mar14.154513.2859@desire.wright.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!uoft02.utoledo.edu!desire.wright.edu!rocker

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!uoft02.utoledo.edu!desire.wright.edu!rocker
From: rocker@desire.wright.edu
Newsgroups: comp.os.msdos.programmer,comp.lang.pascal
Subject: TP memory problems
Message-ID: <1991Mar14.154513.2859@desire.wright.edu>
Date: 14 Mar 91 20:45:13 GMT
Organization: University Computing Services, Wright State University
Lines: 20