-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.OutOfMemoryException on Intel GPUs #4596
Comments
Hi there, thanks for the report and the investigation! I don't we can generally propose or automatically disable hardware acceleration, but this seems like it's indicative of some kind of behaviour in WPF, either because it's a bug or because HDT is triggering a bad behaviour. Nonetheless I'll see if we can add this to some FAQ or an error dialog. |
Are you using an Intel iGPU? |
Yes, I am using an Intel i5-12500T CPU without a dedicated graphics card. |
Hello, I have a test build with one fix that might address this issue (even when removing the registry key again). There's more fixes and performance improvements on the way, but I'd like to get an early lead on whether this addresses the issue: https://drive.google.com/file/d/1QJPOH6WTlq9bWuF5VKmKJGTwtXv0gdZM/view?usp=sharing How to use:
If you use the build, I'd be happy to hear how it goes (crash or no crash). |
Thank you for providing the test build. I followed the instructions and tested this version, but unfortunately the issue still persists |
I have a suspicion at this point that this instant crash only affects Intel integrated GPUs, and you can work around there with the registry fix suggested above. If you're a user who encounters more or less instant crashes on HDT v1.38.4+ and you're not on an Intel GPU, please also report here. |
Hearthstone HDT plugin frequently crashes, the error window cannot be opened. Checking the Crash Reports file, the error message shows:System.OutOfMemoryException: There is not enough memory to continue the execution of the program.
Error status: During plugin operation, it suddenly freezes and requires a restart. After running for two or three rounds, it freezes again. Reinstalling HDT, Hearthstone, setting permissions, running antivirus, updating .NET, and even reinstalling the system have all been ineffective.
I checked the Windows system logs
Then I analyzed the possible causes
1、Insufficient system memory or improper application memory management. Ensure the system has enough available memory, close unnecessary applications
2、The exception occurs during WPF rendering process, possibly related to graphics resource management
3、Check for memory leaks or unnecessary resource allocation
4、Make sure you're using the latest version of the software
Finally, after various attempts, I discovered it was a WPF issue.
By disabling hardware acceleration, the software no longer uses the GPU but instead uses the CPU for rendering, and I found this resolved the issue.
I found that many people have encountered this issue but haven't solved it. I'm not sure if this solution will work for everyone. I wonder if this problem can ultimately be resolved at the code level.
The text was updated successfully, but these errors were encountered: