Collecting and analyzing memory dumps