Xref: utzoo comp.os.msdos.programmer:3984 comp.lang.pascal:5727 Path: 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 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