Changeset 21454

Dr Bainbridge added the useful new method check_system_heap() for Windows which calls _heapchk. It's helpful in detecting memory related errors when these have weird and inexplicable effects and which the debugger cannot help in unravelling.