mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
## Description This PR simply enables the `largeHeap` flag to request more memory from the OS. I am a bit embarrassed that I haven't added this before now, but I had read that using `largeHeap` was a bandaid, not a solution. So I assumed Wholphin was doing something incorrect memory-wise. But after crawling through many, many heap dumps to analyze Wholphin's memory usage, and after further research, enabling this does make sense for handling high bitrate, high resolution videos. Furthermore, many other Jellyfin clients and other video apps like Plex and Prime Video have this enabled. So since I am pretty confident that Wholphin doesn't have any memory leaks, I feel good about enabling this. ### Related issues I believe this will fix many of the bug reports about crashes during 4K playback, but it's not a cure-all since it is up the device & OS to allocate the max memory. Fixes #333 Fixes #826 Fixes #1189 ### Testing Shield 2019, Fire 4k Max ## Screenshots N/A ## AI or LLM usage None |
||
|---|---|---|
| .. | ||
| config | ||
| schemas/com.github.damontecres.wholphin.data.AppDatabase | ||
| src | ||
| .gitignore | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||