schnaader / precomp-cpp

Precomp, C++ version - further compress already compressed files
http://schnaader.info/precomp.php
Apache License 2.0
406 stars 52 forks source link

Bug report: crash on JPG compression #118

Open M-Gonzalo opened 4 years ago

M-Gonzalo commented 4 years ago

It's a huge 25'200p x 33'300p image. On my system (Manjaro Linux, Intel Celeron, 4gb RAM) precomp crashes trying to compress it. I tried both brunsli and packJPG too.

large.jpg

schnaader commented 4 years ago

Didn't crash on a machine with Windows 10 and 16 GB RAM, but consumed about 4,5 GB RAM, so I'll test it on another machine with less RAM (both Linux and Windows).

"-v" says that brunsli compression failed and packJPG is used as a fallback, though I guess that brunsli would also run into memory problems if it'd process the image.