System Information
Operating system: Linux-5.3.12-arch1-1-x86_64-with-arch 64 Bits
Graphics card: GeForce GTX 980/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.31
Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: rB26bd5ebd42e3
Worked: (optional)
Short description of error
I'm working on a architectural model. I imported the model from Rhino 3D using Collada. The file has about 300K vertices. I'm now merging similar objects by selecting them and pressing CTRL + J. After merging some objects the file size increased from 82MB to 1.4GB. First I thought that this was caused because I was merging objects that were sharing the same mesh data, but when I iterate over the meshes and print mesh.users their value is all 1, for each mesh. I purged all ophaned data too.
As a test, I exported the .blend file to .obj.
- The resulting .obj file was ~35MB.
- Then I imported the file in a new .blend and saved that one, the file size of this .blend is 57MB.
I've started a discussion here too: https://blenderartists.org/t/massive-file-size-increase-after-joining-meshes-objects/1192317/4
UPDATE 1
I toggled the [x] compression box when saving and now the file is 18MB. I still think this is a bug as 300K vertices does not result in such a file size increase. Opening that file of 18MB results in ~2.6GB memory usage.
https://imgur.com/a/22hNroI
UPDATE 2
I think this is partly caused by the undo buffer somehow or at least, this issue is twofold; disabling the undo buffer allows me at least to continue working.
What can cause this increase?
Exact steps for others to reproduce the error
I'm using a private 3D model which I can't share. I'm happy to share this privately but I can't post it online.