Out of heap space

I have tried .def files and adjusting the linker flags.  But can't get a
project to be built with more than 1M of heap.

The result is nothing works for long, VCL included.

When I use System::HeapStatus I can watch the LocalFree memory deplete
and eventually give me a HeapErrorCode of 0x13.  I can't find a
reference for the errors so I have no idea what it means.  But the
TotalFree, FreeBig and FreeSmall are 0.  At the start of the program
before Application->Initialize() there is over 300k free.

TIA for any help,

John Vassallo
j...@netrax.net