Re: Too much memory being used with "find" and parallel

2014-07-24 Thread Martin Møller Skarbiniks Pedersen
On Jul 24, 2014 4:52 AM, "Nelson A. de Oliveira" wrote: > > Hi! > > I have about 3 million PNG files across some directories and I would > like to optimize them. > I did a shell script with this function: > > optimize () { > pngquant --force --speed 1 --ext .png 16 $1 > optipng -o7

Re: Too much memory being used with "find" and parallel

2014-07-24 Thread Nelson A. de Oliveira
On Thu, Jul 24, 2014 at 2:05 PM, Martin Møller Skarbiniks Pedersen wrote: > try remove the -j +0 parameter. If I am not wrong, "-j +0" should be the same thing as no -j, right? But just in case, testing without -j the problem is exactly the same: a large amount of memory usage and no processing a

Re: Too much memory being used with

2014-07-24 Thread Yves
Nelson A. de Oliveira gmail.com> writes: > > On Thu, Jul 24, 2014 at 2:05 PM, Martin Møller Skarbiniks Pedersen > gmail.com> wrote: > > try remove the -j +0 parameter. > > If I am not wrong, "-j +0" should be the same thing as no -j, right? > But just in case, testing without -j the problem is