[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash keeps too much data in memory
From: |
Wojciech Puchar |
Subject: |
bash keeps too much data in memory |
Date: |
Thu, 13 Mar 2008 12:41:09 +0100 (CET) |
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd6.2
Compiler: cc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='freebsd6.2' -DCONF_MACHTYPE='i386-portbld-freebsd6.2'
-DCONF_VENDOR='portbld' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I/usr/local/include
-O2 -fno-strict-aliasing -pipe -march=pentium3
uname output: FreeBSD wojtek.tensor.gdynia.pl 6.3-RELEASE-p1 FreeBSD
6.3-RELEASE-p1 #0: Thu Feb 28 00:27:45 CET 2008
root@wojtek.tensor.gdynia.pl:/usr2/src/sys/i386/compile/p234 i386
Machine Type: i386-portbld-freebsd6.2
Bash Version: 3.2
Patch Level: 33
Release Status: release
Description:
bash sometimes keeps in memory everything it outputs with echo.
Repeat-By:
create BIG text file, lots of lines, at least 100MB
do
while read ll;do echo $RANDOM $RANDOM $ll;done <bigfile >outfile
then from other console observe how bash grows, will and with something
above filesize - which suggest it keeps in memory all it echoed.
Fix:
none
- bash keeps too much data in memory,
Wojciech Puchar <=