Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Why does deleted branches consume storage?
øyvind_kaurstad
Member Posts: 234 ✭✭✭
I've just recently started using branching in Onshape, and quite often I decide to delete a branch that didn't lead where I wanted to.
Now, when you delete a branch you get a warning that this cannot be undone, which is perfectly fine. However, I would then also expect that the additional space consumed by that branch should be freed again, and that the document size would shrink. This seems not to be the case.
I did the following experiment: Created a new document, and immediately created a branch from the start version (the one automatically created). In this branch I imported a couple of meshes (STL files), just to occupy some space. After doing this, the document had a size of 4 MB, all of which was really in that branch. Then I deleted the branch, but the document still occupies the same space.
Since the branch deletion cannot be undone, why does it still occupy space? This looks almost like a classic memory leak in a computer program, although it is not the same thing.
Now, when you delete a branch you get a warning that this cannot be undone, which is perfectly fine. However, I would then also expect that the additional space consumed by that branch should be freed again, and that the document size would shrink. This seems not to be the case.
I did the following experiment: Created a new document, and immediately created a branch from the start version (the one automatically created). In this branch I imported a couple of meshes (STL files), just to occupy some space. After doing this, the document had a size of 4 MB, all of which was really in that branch. Then I deleted the branch, but the document still occupies the same space.
Since the branch deletion cannot be undone, why does it still occupy space? This looks almost like a classic memory leak in a computer program, although it is not the same thing.
0
Comments
https://cad.onshape.com/documents/c24fad1e5c20c4e9bf27058f/w/c640963ff2d2cba9636a5f3f/e/f9fdac29b5f7bbf3e65ff732
It is a private document, but there really is nothing in it (because I deleted the branch that had data), so I can share it with you if you want.