Lymphatus / caesium-image-compressor

Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG, WebP and TIFF formats. You can quickly reduce the file size (and resolution, if you want) by preserving the overall quality of the image.
https://saerasoft.com/caesium
GNU General Public License v3.0
3.47k stars 209 forks source link

Too many files cause the program to crash #195

Closed wlfzsd closed 1 year ago

wlfzsd commented 1 year ago

I have 700,000 pictures that need to be compressed. It takes about an hour to import all of them into the software, but the program crashes after a few minutes of compression.

Lymphatus commented 1 year ago

Can you try compressing with the "Multithreading" option unchecked? It would take much longer, but it consumes way less resources.

wlfzsd commented 1 year ago

您可以尝试在未选中“多线程”选项的情况下进行压缩吗?这将花费更长的时间,但它消耗的资源更少。

I still encountered program crashes when using a single thread. It only lasted for a slightly longer period of time compared to using multiple threads.

Lymphatus commented 1 year ago

Can it be related to #178?

Lymphatus commented 1 year ago

The problem is most likely related to https://github.com/Lymphatus/caesium-image-compressor/issues/178#issuecomment-1500871157 Will be fixed in the next release.

Lymphatus commented 1 year ago

Fixed in 2.4.0