When using associative arrays in bash, reassigning a value of an array member will not release memory used by the old value. In long-running scripts this causes memory to be consumed by the script, potentially leading to a system crash.
↧