community.borland.com

Article #15601: EXEC - SETTING HEAP MEMORY

 Technical Notes Database

TN601D.txt   EXEC - SETTING HEAP MEMORY
Category   :Pascal
Platform    :All
Product    :Turbo Pascal  4.0+

Description:
Q. How do I set the heap memory when executing a child process?
A. Probably the best way to do this is through trial and error.
   Set the heap maximum to some large value, and run the program.
   If it runs out of memory, then divide the maximum by 2, and so
   on, until the parent and child programs have enough memory.
   The same can be done with the heap minimum.  Also, if you have
   access to CompuServe, you can download a routine that swaps
   the parent program between memory and disk.


Reference:


7/16/98 4:35:33 PM
 

Last Modified: 01-SEP-99