Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/bash-31ueiH/bash-4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -Wno-format-security uname output: Linux kali 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu
Bash Version: 4.4 Patch Level: 0 Release Status: release Description: I use a huge value for HISTSIZE (=999999999) to enable infinite history items. The actural size of ~/.bash_history is only 4MB now. Everything worked fine before the lastest upgrade. Now bash refuse me to login due to memory allocation failure. After choosing a smaller HISTSIZE, bash still eatup too much unnesssary memory. Repeat-By: open a workable terminal with small HISTSIZE setting, $ echo HISTSIZE=999999999 > ~/test.rc $ bash --rcfile ~/test.rc bash: xmalloc: cannot allocate 8000000008 bytes (114688 bytes allocated)