On Tue, Oct 27, 2020 at 09:40:53AM -0400, Chet Ramey wrote:
> On 10/27/20 12:11 AM, Scott Kostyshak wrote:
> > The following example uses more peak RAM on new bash versions than old
> > versions:
> >
> > for i in {1..100}; do
> > echo "${i}" >> example.txt
> > done
> >
> > By measuring pea
On Tue, Oct 27, 2020 at 08:54:37PM +0900, Koichi Murase wrote:
> > I tried to bisect but I'm not sure the result is useful. I got the
> > following:
> >
> > d233b485e83c3a784b803fb894280773f16f2deb is the first bad commit
> > commit d233b485e83c3a784b803fb894280773f16f2deb
> > Author: Chet R
On 10/27/20 12:11 AM, Scott Kostyshak wrote:
> The following example uses more peak RAM on new bash versions than old
> versions:
>
> for i in {1..100}; do
> echo "${i}" >> example.txt
> done
>
> By measuring peak memory usage with time (/usr/bin/time -f "%E %P %M"),
> I get that newer ver
> I tried to bisect but I'm not sure the result is useful. I got the following:
>
> d233b485e83c3a784b803fb894280773f16f2deb is the first bad commit
> commit d233b485e83c3a784b803fb894280773f16f2deb
> Author: Chet Ramey
> Date: Mon Jan 7 09:27:52 2019 -0500
>
> bash-5.0 distributio
The following example uses more peak RAM on new bash versions than old versions:
for i in {1..100}; do
echo "${i}" >> example.txt
done
By measuring peak memory usage with time (/usr/bin/time -f "%E %P %M"),
I get that newer versions of Bash use about 284M, where older versions
use about 191