Sergo Posted March 8, 2018 Share Posted March 8, 2018 Hi Why, if you delete for example brush categories, or styles, raster_brushes file.procol or object styles.procol increases, Can someone tell me why? Quote Link to comment Share on other sites More sharing options...
R C-R Posted March 8, 2018 Share Posted March 8, 2018 What OS (Mac or Windows) are you using? Have you tried this with the Affinity app open or have you quit it first? Quote All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Sergo Posted March 8, 2018 Author Share Posted March 8, 2018 Windows 10 x64 on windows 7 too Many times I have been in different ways After removing the brushes or styles, the raster_brushes.propcol file does not even get much bigger, I reinstalled the applications, and the last update installed and sbarsyval settings, still do not understand why the file becomes only more after removing Quote Link to comment Share on other sites More sharing options...
Staff Lee D Posted March 9, 2018 Staff Share Posted March 9, 2018 Th On 08/03/2018 at 9:06 AM, Sergo said: Hi Why, if you delete for example brush categories, or styles, raster_brushes file.procol or object styles.procol increases, Can someone tell me why? There does seem to be something strange going on with those files when deleting or adding brush categories. I'll do some more testing and feedback to the developers. Quote Link to comment Share on other sites More sharing options...
Sergo Posted March 10, 2018 Author Share Posted March 10, 2018 Thank you. also try to deal with these files, Quote Link to comment Share on other sites More sharing options...
Staff Ben Posted March 12, 2018 Staff Share Posted March 12, 2018 This will be because we apply similar streamlining rules as we do to the Affinity documents. For speed reasons, we append changes to the file, then only periodically "defrag" the file when it reaches a certain % of dead data. So, if you delete stuff, the file will still grow instead of shrink as we write out a new copy of the main file data, but don't do any housekeeping until it reaches 25% redundancy at which point all the dead bits are removed and the file will shrink. You'd have to delete 1/4 of your brushes (approximately) to cause a streamline, though that is subjective. stokerg, Leigh and R C-R 3 Quote SerifLabs team - Affinity Developer Software engineer - Photographer - Guitarist - Philosopher iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395 MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300 iPad Pro 10.5", 256GB Link to comment Share on other sites More sharing options...
Pšenda Posted March 12, 2018 Share Posted March 12, 2018 This is a commonly used technique, but applications can then invoke the defragmentation on demand (see SQLite Vacuum command). Do you think of something similar? Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
Staff Ben Posted March 12, 2018 Staff Share Posted March 12, 2018 We have control over when we defrag - and our files are not SQL, so the defragging is our own code. We just chose to only do it at 25% for these files. We do it at 33% for Affinity documents. Quote SerifLabs team - Affinity Developer Software engineer - Photographer - Guitarist - Philosopher iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395 MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300 iPad Pro 10.5", 256GB Link to comment Share on other sites More sharing options...
Sergo Posted March 12, 2018 Author Share Posted March 12, 2018 So they will not continue to rise indefinitely, then everything is fine. Thanks Quote Link to comment Share on other sites More sharing options...
Pšenda Posted March 12, 2018 Share Posted March 12, 2018 8 minutes ago, Ben said: and our files are not SQL, so the defragging is our own code. This was, of course, an example. Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
Polygonius Posted March 12, 2018 Share Posted March 12, 2018 Did i get it right? In other words: If i have eg. 20 categorys of new brushes, each with nearly the same size of MB, i have to delete at least 5 categorys (=>25%) of thoose to get an effect of shrinking instead growing? It is (in this case) contraproductiv to delete just 4 categories? In this case the whole monolith-file will go fragmented (rise up) and first defragment after this treshold???? Or in complete other words: Should i do not care - that file(s) will do its job after critical mass? Quote OSX 12.5 / iMac Retina 27" / Radeon Pro 580X / Metall: on! --- WWG1WGA WW! Link to comment Share on other sites More sharing options...
R C-R Posted March 12, 2018 Share Posted March 12, 2018 32 minutes ago, Polygonius said: Or in complete other words: Should i do not care - that file(s) will do its job after critical mass? Yes, basically. Quote All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Polygonius Posted March 12, 2018 Share Posted March 12, 2018 Are you a dev? What makes you sure? And BTW is AP using another place on the HD for storing its stuff, except its app-folder and this library and of course my personal exports to a place i define? (I just have adobe bridge (very nice organizer, so should "our" media-brwoser be), but there are maybe 3 GB of adobe files over the whole system - its absolut nasty). (I have just a small SSD and each MB is valuable;-) Quote OSX 12.5 / iMac Retina 27" / Radeon Pro 580X / Metall: on! --- WWG1WGA WW! Link to comment Share on other sites More sharing options...
R C-R Posted March 12, 2018 Share Posted March 12, 2018 24 minutes ago, Polygonius said: What makes you sure? Because Ben said this is the way it works. Quote All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Polygonius Posted March 12, 2018 Share Posted March 12, 2018 22 minutes ago, R C-R said: Because Ben said this is the way it works. Ah ok, seems i over-read some essential info. Thank you. Quote OSX 12.5 / iMac Retina 27" / Radeon Pro 580X / Metall: on! --- WWG1WGA WW! Link to comment Share on other sites More sharing options...
Jowday Posted September 5, 2019 Share Posted September 5, 2019 On 3/12/2018 at 1:38 PM, Ben said: We have control over when we defrag - and our files are not SQL, so the defragging is our own code. We just chose to only do it at 25% for these files. We do it at 33% for Affinity documents. 25% is a bit high for a fragmentation threshold, isn't it? My raster_brushes.propcol is a 3GB file even after deleting quite a few brushes. That is perhaps 600 - 700MB of wasted space right there. Foverever if the user doesn't add or remove brushes anymore. Could hurt on laptops with smaller SSD's. Perhaps you should trigger the defrag monthly as well. thomaso and Pšenda 2 Quote "The user interface is supposed to work for me - I am not supposed to work for the user interface." Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else. “When a wise man points at the moon the imbecile examines the finger.” ― Confucius Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver. Link to comment Share on other sites More sharing options...
Pšenda Posted September 5, 2019 Share Posted September 5, 2019 6 hours ago, Jowday said: Perhaps you should trigger the defrag monthly as well. Yes, or on demand, as I suggested previously, so the user could compress the files as needed (for example, before sending them to a work partner, customer, etc.) This is the case with browser caches (such as FastStone Viewer), which it creates for faster previewing. The user then cleans the cache (unnecessary thumbnails) and reduces it. Jowday 1 Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
Jowday Posted September 5, 2019 Share Posted September 5, 2019 12 hours ago, Pšenda said: Yes, or on demand, as I suggested previously, so the user could compress the files as needed (for example, before sending them to a work partner, customer, etc. Yes also... not or. If you don't understand the issue the service should still run scheduled. An "optimize" button in the settings could supplement it. Quote "The user interface is supposed to work for me - I am not supposed to work for the user interface." Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else. “When a wise man points at the moon the imbecile examines the finger.” ― Confucius Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver. Link to comment Share on other sites More sharing options...
Jowday Posted September 5, 2019 Share Posted September 5, 2019 and... why not sort the brushes ALPHABETICALLY on that occasion... hint hint!!! Quote "The user interface is supposed to work for me - I am not supposed to work for the user interface." Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else. “When a wise man points at the moon the imbecile examines the finger.” ― Confucius Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.