I want to import ~1000 .fbx meshes that contain around 1million polygons each. Therefore i have following script:
After around 20 imported meshes, unreal engine crashes although I have 32GB of Ram. When I import a single mesh, unreal Engine does not crash, but memory usage goes up. When I restart Unreal engine with the imported meshes, memory usage is normal again. So my assumption is that ram is not freed after a successful import. Am I missing something in my import script to free up memory after each mesh import?