Memory leak during shader compilation (>30GB RAM), low intro FPS (8 FPS), and freeze with write failures (Ghost of Yotei) #9052

Closed
opened 2026-10-21 10:57:58 +00:00 by Worldsende · 0 comments
Worldsende commented 2026-10-21 10:57:58 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Worldsende on 2026-10-21T10:57:58Z.


Description

During startup of Ghost of Yotei, system RAM usage rapidly spikes above 30 GB while building the shader cache. The Sony/PlayStation intro screen plays at extremely low performance (~8 FPS), after which the application freezes on a black screen. In the console logs, numerous [shader-disk-cache] cannot write ... and write failures occur, and the shader_cache directory swells to over 26 GB before the deadlock occurs.

To Reproduce

  1. Launch app.exe (main with PR #7841 merged).
  2. Monitor RAM usage and console log during execution.
  3. Observe RAM climbing past 30 GB and the intro playing at ~8 FPS.
  4. Application freezes on a black screen following the intro with continuous pipeline/disk cache write failures.

Console Log Snippets

[shader-disk-cache] cannot write H:\Yotei\shader_cache\7f8b45fb7276798a\e8214465c815f6221eeca0d757a10753.bin
[shader-disk-cache] cannot write H:\Yotei\shader_cache\7f8b45fb7276798a\cb488922de135fe87ab75ec403d6a9a4.bin
[shader-disk-cache] cannot write H:\Yotei\shader_cache\7f8b45fb7276798a\0689ba6240469f6868484cb78d047917.bin
[pipeline-cache] cannot write H:\Yotei\shader_cache\7f8b45fb7276798a\vk-pipelines-10de-2c05-9a4a8000-a69b4221ed14ba764775e6dac5b94899.bin

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5959172703 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/9052). Originally posted by [Worldsende](https://github.com/Worldsende) on 2026-10-21T10:57:58Z. --- ### Description During startup of Ghost of Yotei, system RAM usage rapidly spikes above 30 GB while building the shader cache. The Sony/PlayStation intro screen plays at extremely low performance (~8 FPS), after which the application freezes on a black screen. In the console logs, numerous [shader-disk-cache] cannot write ... and write failures occur, and the shader_cache directory swells to over 26 GB before the deadlock occurs. ### To Reproduce 1. Launch app.exe (main with PR #7841 merged). 2. Monitor RAM usage and console log during execution. 3. Observe RAM climbing past 30 GB and the intro playing at ~8 FPS. 4. Application freezes on a black screen following the intro with continuous pipeline/disk cache write failures. ### Console Log Snippets [shader-disk-cache] cannot write H:\Yotei\shader_cache\7f8b45fb7276798a\e8214465c815f6221eeca0d757a10753.bin [shader-disk-cache] cannot write H:\Yotei\shader_cache\7f8b45fb7276798a\cb488922de135fe87ab75ec403d6a9a4.bin [shader-disk-cache] cannot write H:\Yotei\shader_cache\7f8b45fb7276798a\0689ba6240469f6868484cb78d047917.bin [pipeline-cache] cannot write H:\Yotei\shader_cache\7f8b45fb7276798a\vk-pipelines-10de-2c05-9a4a8000-a69b4221ed14ba764775e6dac5b94899.bin
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#9052
No description provided.