HearthSim / Hearthstone-Deck-Tracker

A deck tracker and deck manager for Hearthstone on Windows
https://hsreplay.net/downloads/
4.75k stars 1.12k forks source link

HDT random crashes with OutOfMemoryException #3054

Open Radiohawk58 opened 7 years ago

Radiohawk58 commented 7 years ago

HDT suffers random "application has failed" and windows (Win10) closes it.

hdt_log.txt

Radiohawk58 commented 7 years ago

Just crashed again - here's the new log file: hdt_log.txt

Radiohawk58 commented 7 years ago

another crash, not sure what I'm doing different than others - here's the latest log: hdt_log.txt

judge2020 commented 7 years ago

There are no error details in these logs. Whatever is causing the crash isn't being picked up by HDT's error handler.

Radiohawk58 commented 7 years ago

Sry, don't mean to be spammy, just wanted to portray the frequency of crashes all of a sudden. I tried a total shutdown of system then restart, then had Kaspersky do full scan and root scan - went to bed while that happened. Will update today if it continues.

By the way, thanks for all the hard work on software, is appreciated.

riQQ commented 7 years ago

Please post a windows event log (see https://github.com/HearthSim/Hearthstone-Deck-Tracker/wiki/Reporting-Issues#windows-log-files).

Radiohawk58 commented 7 years ago

Here's the latest win event log details regarding HDT:

Application: Hearthstone Deck Tracker.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.OutOfMemoryException at Hearthstone_Deck_Tracker.LogReader.LogReader.ReadLogFile() at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart()

azeier commented 7 years ago

https://github.com/HearthSim/Hearthstone-Deck-Tracker/issues/2991#issuecomment-264653751

Yeah that out of memory crash is a known issue I still don't know how to fix (or why it happens) :(

tknights2015 commented 7 years ago

Yesterday, was seeing multiple crashes in no deck mode, in Tavern Brawl.

goldenmane commented 7 years ago

cannot use the program anymore, everytime i open it the memory usage just rises and rises up to 1,5gb and then it just crashes.

azeier commented 7 years ago

Does that persist through restarting hearthstone / rebooting?

goldenmane commented 7 years ago

no, actually it stopped when i restarted both HS and Deck Tracker, seems like something was bugged, but its working fine now, memory doesnt exceed 150Mb

ViezeVingertjes commented 7 years ago

It has a huge memory leak, this might be the cause of your crashes. (Over 2GB RAM at times)

azeier commented 7 years ago

Definitely is, it's a know issue. We don't really know what's causing it though - likely related to the log reading somehow. I haven't been able to reproduce it so far, which makes fixing it difficult :/.

beheh commented 7 years ago

More logs in #3104.