Add this to your .profile or .bash_profile to increase the history size to 10000
export HISTFILESIZE=10000