Punch! CAD
»
ViaCAD & Shark
»
General
»
Is there a cleanup function to reduce filesize?
Rank: Guest
Joined: 10/13/2017(UTC)
Posts: 48
Thanks: 17 times Was thanked: 3 time(s) in 2 post(s)
I've noticed that for some reason the file size of my viacad pro design just doubled in size while I only added some simple boxes. File size was around 32.7MB after reading this design and adding some simple things and reshuffled some parts, I saved again which takes a long time. Eventually it was ready saving but I've noticed that the filesize almost doubled to 64MB which was to say at least not what I've expected. Is there a way to reduce the file size again?
Rank: Guest
Joined: 10/13/2017(UTC)
Posts: 48
Thanks: 17 times Was thanked: 3 time(s) in 2 post(s)
Looking to all the menu options I did found a compact option which reduces the file somewhat to around 50MB still to large for what's in there.
Saving takes minutes while in the meantime windows tells me that the program isn't responding.
I'm using a Windows 10 x64 quad core i7 2.9GHz 16GB ram PC with internal SSD, ViaCad uses around 40MByte of memory after startup, 1.2GByte after loading design and up to 3GByte after working a bit with the design.
Edited by user Wednesday, July 4, 2018 3:26:05 AM(UTC)
| Reason: Not specified
Rank: Senior Member
Joined: 2/23/2007(UTC)
Posts: 484
Thanks: 28 times Was thanked: 50 time(s) in 36 post(s)
switch on all layers and unhide everything for checking the model content. You may want check to import the file into a new, empty document and save then (to another file of course). Alternatively a copy&paste might do something similar maybe by losing structural information.
2 users thanked posh.de for this useful post.
Rank: Guest
Joined: 4/9/2017(UTC)
Posts: 512
Thanks: 280 times Was thanked: 140 time(s) in 107 post(s)
Maybe u can also using the option "clear undo on save". Thse idea with the new file is also good,i made this several times.
OS: Windows 10 | CPU: AMD Ryzen 7 2700 | RAM: 32 GB | Graphic: AMD Radeon RX Vega 56 | Shark FX 9 Build 1162 | Unit: mm
1 user thanked MPSchmied for this useful post.
Rank: Guest
Joined: 10/13/2017(UTC)
Posts: 48
Thanks: 17 times Was thanked: 3 time(s) in 2 post(s)
Thanks for the input guys. Didn't know that there was such a "clear undo on save", will definitely look for that. Splitting up the design or reduce the imported step file to more block like items will definitely help but in my opinion this should't be necessary for such a design. Working with this file is just fine, I wonder why it's taking sooo long to save that thing, even with the doubling of the output file, it's only 30 to 60 MByte which shouldn't take up minutes to save. Minutes in more like five+ or so.
Rank: Senior Member
Joined: 2/23/2007(UTC)
Posts: 484
Thanks: 28 times Was thanked: 50 time(s) in 36 post(s)
try if disabling "File > Preferences... > Filing > Save Preview Image" avoids the lagging during the save process of the document.
1 user thanked posh.de for this useful post.
Rank: Guest
Joined: 10/13/2017(UTC)
Posts: 48
Thanks: 17 times Was thanked: 3 time(s) in 2 post(s)
Originally Posted by: posh.de try if disabling "File > Preferences... > Filing > Save Preview Image" avoids the lagging during the save process of the document.
Thanks for pointing me to this setting menu. Although the time during save didn't alter but I could configure there that the undo is discarded during save. Nevertheless saving is very slow.
Rank: Guest
Joined: 10/13/2017(UTC)
Posts: 48
Thanks: 17 times Was thanked: 3 time(s) in 2 post(s)
I've tried all settings and although the filesize reduced a bit, it keeps very slow. Simplifying the models imported reduces the filesize to around half (~22MByte) but it was still slow. In the end the only thing that worked was just the create an empty document and copy all of the design from my original file into the new empty one and the file size dropped to almost 4MByte and saving was as normal again. Probably something was corrupt inside that slow file which got the saving process stuck on.... Nevertheless thanks for the replies and input.
Rank: Senior Member
Joined: 3/21/2017(UTC)
Posts: 952
Thanks: 46 times Was thanked: 319 time(s) in 212 post(s)
I had the same thing building an assembly in Shark with the reference manager. I added and removed parts and the file stayed pretty bit, with seemingly loads of things on a layer, I started a new file did it again and the file was tiny. Straaaaaaannnnnggggeeeeee.
Rank: Guest
Joined: 10/13/2017(UTC)
Posts: 48
Thanks: 17 times Was thanked: 3 time(s) in 2 post(s)
Originally Posted by: UGMENTALCASE I had the same thing building an assembly in Shark with the reference manager. I added and removed parts and the file stayed pretty bit, with seemingly loads of things on a layer, I started a new file did it again and the file was tiny. Straaaaaaannnnnggggeeeeee.
Indeed it is strange, just made a new file selected everything of the old en copied it to the new and it saved like normal again. Before that it took minutes to get the saving done which was also strange as in the end it was only just over 20MBytes..
But glad that it's gone, almost don't wanted to save again :)
Punch! CAD
»
ViaCAD & Shark
»
General
»
Is there a cleanup function to reduce filesize?
Forum Jump
Punch! CAD
ViaCAD & Shark
- News and Announcements
- General
- 2D Drafting
- Surface Modeling
- Solid Modeling
- Subdivision Modeling
- Rendering & Display
- Import/Export
- Tips and Tutorials
- Suggestions
- Gallery
- PowerPack
- Punch Lounge
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.