(* Collection of code snippets by Arne Vajhøj *)
(* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) *)
program Mem;

{$APPTYPE CONSOLE}

uses
  SysUtils;

type
   big = array [1..1000000] of char;

var
  p1,p2 : ^big;

begin
  writeln(AllocMemSize);
  new(p1);
  writeln(AllocMemSize);
  new(p2);
  writeln(AllocMemSize);
end.
