Technical Notes Database TN578D.txt HEAP SPACE STILL CREATED WITH HEAP MAX 0 Category :Pascal Platform :All Product :Turbo Pascal 5.5 Description: Q. Compiling to disk with my heap maximum set to 0 still creates heap space when running .EXE file. Why? A. This has to do with the way DOS allocates memory for .EXE files in chunks of 512 bytes, rather than in chunks of 16 bytes. As a result of DOS's allocation, you always get 0-496 bytes more than you request. Reference: 7/16/98 4:35:33 PM
Last Modified: 01-SEP-99