Kilian / Trimage

A cross-platform tool for optimizing PNG and JPG files.
http://trimage.org
MIT License
706 stars 55 forks source link

Too much memory usage #94

Closed w0nd3r365 closed 9 months ago

w0nd3r365 commented 9 months ago

OS: Kali GNU/Linux Rolling 2023.4 Trimage version: 1.0.6 (obtained from Kali apt repo) Dependecies versions: pngcrush 1.8.13, uses libpng 1.6.36 and zlib 1.2.11

Compared to other programs, trimage uses so much more memory. It was processing just 102 images and used 5875 MB of RAM. The memory doesn't get freed after it is done processing the images. Can this be changed, or is it by design?

trimage_memory_greedy

w0nd3r365 commented 9 months ago

Sorry, duplicate of #25