Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!news.cs.indiana.edu!news.nd.edu!mentor.cc.purdue.edu!j.cc.purdue.edu!brazil.psych.purdue.edu!zhou From: zhou@brazil.psych.purdue.edu (Albert Q.Zhou) Newsgroups: comp.lang.pascal Subject: SHRINK BEFORE RUNNING A CHILD PROCESS Message-ID: <11940@j.cc.purdue.edu> Date: 11 Jun 91 07:52:46 GMT Sender: news@j.cc.purdue.edu Reply-To: zhou@brazil.psych.purdue.edu (Albert Q.Zhou) Organization: Purdue University Lines: 5 In Turbo Pascal, the dynamic memory to be used in a program has to be specified during the compilation by $M. However, when you run a child program with exec, you can not use any part of the memory already allocated for the heap even if it is free. Is it a way to get around this?