I\'ve written a simple dotnet app that allocates memory. It uses up all the physical memory on the machine and then crashes with an OutOfMemoryException
dotnet
OutOfMemoryException