So I've been working on a big spreadsheet project, with over 2k lines and 40 columns, with over 220 charts. (incidentally its also been lagging like crazy)
I've also been backing it up periodically, and when I went to back up my progress today, I noticed that the size had shrunk from 2.01 MB (2,111,992 bytes) two days ago to 1.16 MB (1,227,663 bytes), despite me adding and/or editing over 200 lines across the 40+ columns since that time.
I also manually counted the number of charts in both versions and they came out close enough that I'm convinced that they're the same, and one or two charts wouldn't account for this difference.
Now, for the foreseeable future, I'll go along with the smaller newer version since it still collaborates with all the progress I made and saved my place. But nonetheless, I'd still like to know if this is normal behavior. I mean, if OpenOffice is automatically compressing some things, or maybe since I filled some spaces with the same info it was able to cut some redundant data off, then okay, great, sure, but I'd really like to know for sure that's what its doing and gain 100% peace of mind.
[Solved] File size shrank from 2MB to 1.1MB
[Solved] File size shrank from 2MB to 1.1MB
Last edited by Rarefoil on Sun Mar 02, 2025 12:41 pm, edited 1 time in total.
Apache OpenOffice 4.1.15 on Windows 10
- Hagar Delest
- Moderator
- Posts: 33629
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: ODS file size mysteriously shrunk from 2MB to 1.1MB. Why?
Hi and welcome to the forum!
Have you deleted anything? Like a sheet, a chart, a pivot table or even conditional formatting? Such things can carry much hidden data that could count for the smaller size once removed.
If you still have the former file, you can open both of them (they are mere zip files) and compare their content.
Have you deleted anything? Like a sheet, a chart, a pivot table or even conditional formatting? Such things can carry much hidden data that could count for the smaller size once removed.
If you still have the former file, you can open both of them (they are mere zip files) and compare their content.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
- MrProgrammer
- Moderator
- Posts: 5430
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: ODS file size mysteriously shrunk from 2MB to 1.1MB. Why?
OpenOffice uses ZIP to compress an ODS file. If ZIP detects patterns in the data it can compress them to reduce the ODS file size. It is not possible for you to determine from examination of your spreadsheet whether it will have patterns that ZIP can detect.
If this solved your problem please go to your first post use the Edit ✏️ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
[Tutorial] Ten concepts that every Calc user should know
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
Re: ODS file size mysteriously shrunk from 2MB to 1.1MB. Why?
Alright, that sounds like it could explain it. Could I know if there's an option to turn that on or off? Or would I just save it to another format if I didn't want the compression for whatever reason?MrProgrammer wrote: ↑Mon Feb 24, 2025 3:56 pm OpenOffice uses ZIP to compress an ODS file. If ZIP detects patterns in the data it can compress them to reduce the ODS file size. It is not possible for you to determine from examination of your spreadsheet whether it will have patterns that ZIP can detect.
Apache OpenOffice 4.1.15 on Windows 10
Re: ODS file size mysteriously shrunk from 2MB to 1.1MB. Why?
With a file of that size, or a file of any important content, best _not_ to work in foreign formats. Remain with the ODF formats (.odt, ods etc)
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
Re: ODS file size mysteriously shrunk from 2MB to 1.1MB. Why?
There is an option to save as Open Document Spreadsheet (Flat XML) .fods where the whole document is stored in one XML flat file.
There is a considerable difference in file size; for example, a 52 Kb .ods file that I saved as a .fods file became 1.4 Mb. This may not be ideal.
There is a considerable difference in file size; for example, a 52 Kb .ods file that I saved as a .fods file became 1.4 Mb. This may not be ideal.
Slackware 15 (current) 64 bit
Apache OpenOffice 4.1.16
LibreOffice 26.2.3.2; SlackBuild for 26.2.3 by Eric Hameleers
---------------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
Apache OpenOffice 4.1.16
LibreOffice 26.2.3.2; SlackBuild for 26.2.3 by Eric Hameleers
---------------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.