Project

General

Profile

Actions

Emulator Issues #13387

closed

Dolphin fills up pagefile.sys when loading a game

Added by sepalani about 1 year ago. Updated about 1 year ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
5.0-20062, 5.0-20126
Fixed in:
5.0-20589

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

dolphin_pagefile_exhaustion_prop.png (18.3 KB) dolphin_pagefile_exhaustion_prop.png SysInternals ProcessExplorer output sepalani, 11/04/2023 08:04 PM
dolphin_pagefile_exhaustion_vmmap.png (119 KB) dolphin_pagefile_exhaustion_vmmap.png SysInternals VMMap output sepalani, 11/04/2023 08:04 PM

Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #13408: Emulator takes c: storage to runDuplicate

Actions
Actions #1

Updated by pokechu22 about 1 year ago

  • Status changed from New to Accepted
  • Regression changed from No to Yes
  • Regression start set to 5.0-20126

Confirmed, started in fd9c970621032e4f5b0d7056b41eb370c386845e which is from the PR you linked.

Actions #2

Updated by pokechu22 about 1 year 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.)

Actions #4

Updated by CasualPokePlayer about 1 year ago

This seems to also cause a very noticeably longer startup time for a game (from around 2 seconds to around 7 seconds).

Actions #5

Updated by pokechu22 about 1 year ago

Actions #6

Updated by CasualPokePlayer about 1 year 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).

Actions #7

Updated by JosJuice about 1 year ago

  • Status changed from Accepted to Fixed
  • Fixed in set to 5.0-20589
  • Operating system Windows added
  • Operating system deleted (N/A)
Actions

Also available in: Atom PDF