I have the same issue as well and i have a ryzen 9 3900x cpu with 32gb coirsair ram gigabyte 3070ti and samsung ssd 1tb and 1tb standard hdd
i have to leave windows task manager open cause windows search app is becoming a right royal pain for some reason it just decides to eat all my ram and then pc freezes so now when i see my ram get halfway i kill the search process but after so long it starts doing the same thing again and eats all my ram i had to force reset the computer because it became totally unresponsive because of this issue