I assume you have checked the total used in %TEMP%.
On my Windows 11 laptop, that has 16 GB memory:
C:\>dir /as
Volume in drive C is *****
Volume Serial Number is ******
Directory of C:\
29/10/2022 01:34 <DIR> $Recycle.Bin
26/10/2022 01:55 <JUNCTION> Documents and Settings [C:\Users]
28/08/2023 15:00 12,288 DumpStack.log.tmp
28/08/2023 15:00 6,779,379,712 hiberfil.sys
28/08/2023 15:00 1,073,741,824 PageFile.sys
28/08/2023 15:00 16,777,216 swapfile.sys
26/01/2023 20:17 <DIR> System Volume Information
I don’t know if that helps.