Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!bloom-beacon!eru!luth!sunic!mcsun!hp4nl!phigate!philmds!derek From: derek@philmds.UUCP (derek) Newsgroups: comp.lang.pascal Subject: Shrinking Heap Size (was Re: An answer on executing alien programs within TP) Summary: How to shrink heap Keywords: Alien Pascal Heap size Message-ID: <1090@philmds.UUCP> Date: 5 Oct 89 11:12:55 GMT References: <1319@rwthinf.UUCP> <1756@draken.nada.kth.se> Reply-To: derek@sundts.UUCP (Derek Carr) Organization: Philips I&E DTS Eindhoven Lines: 12 In article <1756@draken.nada.kth.se> d88-eli@nada.kth.se (Erik Liljencrantz) writes: >... If your program needs any heap space, you will have to decide how >much at compile time (and experiment with the z & y numbers too). There is no >easy way to change this at runtime (though it's possible to shrink the heap, >then Exec, and then restore the heap...) > So the question is, 'is there a simple way to do this?' I'm using the heap a lot, and also Exec, so there is always a conflict of interests - there is never enough memory, is there? Regards Derek.