Skip to content

System.OutOfMemoryException on Intel GPUs #4596

Closed
@bancog52

Description

@bancog52

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.
图片1
I checked the Windows system logs
图片3
图片4

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.
image

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions