System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94
Blender Version
Broken: version: 3.2.2, branch: master, commit date: 2022-08-02 18:15, hash: rBbcfdb14560e7
Worked: None
Short description of error
When batch generating material previews for large asset libraries, blender doesn't unload the data from the previous material and it leads to a memory crash.
Exact steps for others to reproduce the error
Import high amounts of materials into any project totaling up to more than your system's memory and select File > Data Previews > Batch generate previews > [file with large amounts of high res PBR materials]