Reproduction steps:
1. Open the attached project “CrashRepro“
2. Observe memory usage
Expected result: Memory usage is normal
Actual result: Almost all of the memory gets used up at some point and can crash
Reproducible with: 2021.2.0b1, 2022.1.0a1, 2022.1.24f1, 2022.3.5f1, 2023.1.4f1, 2023.2.0a23
Not reproducible with: 2021.3.28f1
Reproducible on: Windows 10
Note: The crash is very inconsistent, but memory consumption always increases about halfway through the project loading
First few lines of stack trace: