doc: Add an example for circumventing problems with Windows heaps