comint-input-ring-size

comint-input-ring-size is a variable defined in `comint.el'.
Its value is
500


Documentation:
Size of the input history ring in `comint-mode'.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 23.2 of Emacs.