I tried to compile tply with fpc-1.9.5, and I got an error about memAvail not being avaible. A quick googling and I found out about GetHeapStatus. A little more googling and I discovered that the fpc-1.9.5 version of tply doesn't have the problem (thanks for that btw). It'll be cool if this version of tply were available stand-alone.