The app “SGKJ_3DRealisticModel” has been killed by the operating system because it is using too much memory.

Hello! I encountered a problem when developing a project using VisionOS. I placed a file with a model size of 294.8MB in the project and tried to load the file model using the "FileManager. default. contentsOfDirectory (atPath: resourcesPath). filter {$0. hasSuffix (". usdz ")}" code. However, when the program was loaded, it was directly shut down by the system, prompting me to exceed memory. I would like to ask how to solve this problem?

The app “SGKJ_3DRealisticModel” has been killed by the operating system because it is using too much memory.
 
 
Q