Hi all, please Cc me on ansers as I am not on the list.
I think I found a severe memleak in bash.
I had this effect with bash 4.2.10 (Ubuntu Linux) as well as
bash 4.1.9 on Gentoo Linux.
To make it short:
echo {0..10000000}>/dev/null
This makes my system starting to swap as bash will use several GiB of
memory.
If I choose a way bigger number bash "just" seems to crash:
mschiff@lisa ~ $ echo {1..1000000000000000000}>/dev/null
bash: xmalloc: cannot allocate 11892949016 bytes (135168 bytes allocated)
mschiff@lisa ~ $
Is this a bug?
-Marc
--
8AAC 5F46 83B4 DB70 8317 3723 296C 6CCA 35A6 4134
pgpMXNfFKU8EZ.pgp
Description: PGP signature
