Emulator Issues #13387
closedDolphin fills up pagefile.sys when loading a game
0%
Description
Game Name?
All
What's the problem? Describe what went wrong.
Each time I load a game, it fills up Windows' pagefile.sys with ~30GB of data (FAST_BLOCK_MAP_SIZE
?). The space is released when the game is stopped. After bissection, dolphin-master-5.0-20126-x64 (https://dolp.in/pr12155) seems to introduce this issue.
What steps will reproduce the problem?
Launch a game from the game list.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Yes, tested on dolphin-master-5.0-20290.
What are your PC specifications? (CPU, GPU, Operating System, more)
Windows 10 22H2
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Intel(R) UHD Graphics 630
NVIDIA GeForce RTX 2060
16 GB of RAM
30 GB of free space on my SSD
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
I attached the output of SysInternals tools just in case.
Files
Updated by pokechu22 12 months ago
- Regression start changed from 5.0-20126 to 5.0-20062, 5.0-20126
Actually, further testing indicates that this started with https://dolphin-emu.org/download/dev/master/5.0-20062/ / https://github.com/dolphin-emu/dolphin/pull/12150 (specifically f1c1c6ded690b34c8e5add75fecc96fff00848e5), but in that version it is only 8 GB that is used. 5.0-20126 increases that amount to 32GB. (Not all of that ends up in the pagefile in both cases though.)
Updated by pokechu22 12 months ago
Two possible fixes: https://github.com/dolphin-emu/dolphin/pull/12293 and https://github.com/dolphin-emu/dolphin/pull/12294
Updated by CasualPokePlayer 12 months ago
This seems to also cause a very noticeably longer startup time for a game (from around 2 seconds to around 7 seconds).
Updated by pokechu22 11 months ago
- Has duplicate Emulator Issues #13408: Emulator takes c: storage to run added
Updated by CasualPokePlayer 11 months ago
Since 5.0-20555 the 32GiB allocation was increased to 64GiB. This in practice means on Windows an even bigger pagefile is needed for the allocation to work (on my own PC with only ~57.1GB of storage free, opening a game ends resulting in ~5.31GB storage free, so pagefile grew by about ~51.79GiB). Startup time for a game is now even longer, now around 12 seconds (which I guess makes sense given the original 32GiB jump was 2->7 seconds, and 7->12 second is the same gap of time).