Hi! I have https://arseniy.net/q2.geojson.gz (2.3G) (on russian server) file and inside there is
q2.geojson file, which has size of 7.6G, but TC 9.22rc2 and earlier report it as 3.6G:
Image: https://arseniy.net/q2.geojson.gz.png. Maybe it's as issue.
invalid file size inside gz
Moderators: white, Hacker, petermad, Stefan2
Re: invalid file size inside gz
You don't expect expect that someone fetches this large file to check for such an error
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Re: invalid file size inside gz
This is NOT a Total Commander issue. All packers I tested - WinRAR 3.80/5.50/5.60/5.70, 7zip 19.00, gzip on Linux - show the exact same size of 3,958,728,447 bytes for the packed file.
Why this size is shown? No idea. Maybe an issue with the archive's header? Maybe gzip doesn't properly support such file sizes?
Regards
Dalai
Why this size is shown? No idea. Maybe an issue with the archive's header? Maybe gzip doesn't properly support such file sizes?
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: invalid file size inside gz
@Delai, you are right, that's not TC. I should've checked that! Sorry for the buzz.
CLOSED
CLOSED
Re: invalid file size inside gz
It seems to be a limitation of gzip, maybe even a gzip format limiation. The bugs section of the gzip manpage reads
Just for reference: RFC 1952 (GZIP file format spec).
Regards
Dalai
This post on StackExchange quotes an Apple/MacOS X manpage:The gzip format represents the input size modulo 2^32, so the --list option reports incorrect uncompressed sizes and compression ratios for uncompressed files 4 GB and larger.
So, it looks like a GZIP file format limitation.BUGS
According to RFC 1952, the recorded file size is stored in a 32-bit integer, therefore, it can not represent files larger than 4GB. This limitation also applies to -l option of gzip utility.
Just for reference: RFC 1952 (GZIP file format spec).
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- clifford_cooley
- Junior Member
- Posts: 40
- Joined: 2019-03-05, 06:04 UTC
- Location: USA
Re: invalid file size inside gz
Yep 3.6G plus the 33rd bit [which is ignored by limitation] is 7.6G.
License #116347
Re: invalid file size inside gz
[mod="Hacker"]Moved to the English forum.[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.