Product: STAR WARS Jedi: Survivor
Platform:Steam-PC
Summarize your bug The game leaks memory
How often does the bug occur? Every time (100%)
Steps: How can we find the bug ourselves? It's easy to reproduce: - Set the page file to a static amount that is way higher than should ever be used (6-8 GB?) - Watch performance monitor + task manager GPU panel and see memory usage and page file size creep up until the entire system crashes (not just the game) - Set page file to be automatically handled by Windows and restart PC - Play the game and watch performance monitor + task manager again; you will see video memory / page file usage creep up but when the limit is nearly reached, more page file space will be allocated. Eventually it could reach a gargantuan size. Notice that performance monitor usage appears steady because it is using the same percentage of available memory, but the total memory is increasing due to paging, thus the total used memory is also continuously increasing.
What happens when the bug occurs? If the page file has a static size, the entire system crashes and must be hard reset. If the page file is dynamically allocated, the game may crash but it takes much longer due to the continuous enlargement of the page file. If the limit is reached anyway, the game crashes but otherwise the PC is functional.
What do you expect to see? I expect the game to correctly allocate/deallocate memory like every other game on the market.
All performance metrics are normal except video memory, which steadily climbs while the game is running until the limit is reached, never deallocating memory. Graphics drivers are up to date, tried rolling back a version which made no difference. DxDiag reports no issues. Windows (and therefore DX12) up to date. Regenerated DX cache at AppData/Local/ which made no difference. No leaking issue in any other game ever, including other DX12 games and Jedi Fallen Order which run perfectly.
Since paged memory can be used by the graphics drivers, bloating the page file to sickening levels allows the game to run for a while (more available memory means the leak takes longer to max out memory and require a restart). This isn't an option for anyone using an HDD (as performance is abysmal) or anyone who doesn't have a lot of free space on their drive to allocate to a monstrous page file.
I honestly wouldn't be surprised if most of the people who have played with minimal issues just don't realize that by default the page file will dynamically allocate with no limit, whereby they would never realize there was a problem until they ran out of free disk space to feed the page file, or in the event that a sufficiently large request for memory was made between page file allocation intervals. For anyone with plenty of extra space, this could take hours to occur. Changing texture quality changes the amount of time it takes to crash, likely since lower quality textures take up less space, resulting in smaller allocation increments.
Take a look around EA forums and Steam discussions and you will see this issue manifest on a wide array of graphics cards from different generations and architectures, some from NVIDIA and some from AMD.
This issue is therefore clearly hardware agnostic. It is not a matter of insufficient video memory if a 4090 with 24 GB is having the same exact problem. My GTX 1080ti has 11 GB which is far beyond what is required for the game to run. Everything performs impeccably until the timebomb explodes.
This is a huge issue, and expecting people to have infinite disk space to allow indefinite paging to compensate for a leak is simply unacceptable. Not to mention that "workaround" isn't 100% reliable even for those who can do it.
Just in case you are curious, my CPU is a Ryzen 5 3600x with 16 GB DDR4 @ 3200 MHz. CPU/RAM performance is unremarkable. Not that this has anything to do with a video memory leak, but I figured I would mention it anyway.
I'll be happy to provide some screenshots of the leak in action if for some reason you decide that's better than reproducing it yourselves.