Dos protected mode crashing NTVDM in NT4 Workstation

I'm having problems running a program compiled under Borland Pascal 7
(Protected mode) with windows NT workstation 4.
The program crashes the NTVDM, it seems to be during a simple GetMem
operation, although the program runs fine under OS/2 and 95.
Also it seems to be an intermittent problem because compiling a
simples 3 line program that continually allocates memory also crashed
it but after a few reboots stopped.
We have the latest RTM & Service Pack 2
Is it a Borland problem or Microsoft, if anyone can help it would be
greatly appreciated, maybe we can pressure someone for a fix.

Thanks in advance