hey
I had the same problem, my project contained a large number of objects for the same file to the size of 8Gb ... The problem was that after the next file opening, unfortunately it did not load to the program, you had to force closing it. I tried a lot of different solutions but the problem persisted. The middle ground was to open a new document and import into it the file that was created and which did not open normally. Yes, it did help, but not long until I came to a solution.
Each object must be created separately and exported to GLTF and GLB. The files then weigh much less but sometimes textura or effects such as light are lost. After importing the whole file from it, I exported each element to GLB (File-export-scene->GLTF/GLB) - the advantage is that each object will remember the xyz location, so after creating a new document and importing individual objects, they go to the destination. From the 8GB file I was able to reduce the file to 1.3 GB this way. Now the file opens correctly every time.
Of course, thank you for the hints in my post without them, it would take much longer.