Found memory release issue on windows with heapdump

Have raised an issue and for now reduced the default events list to be
writeAfter