Mathematica 9 is now available
[an error occurred while processing this directive] $HistoryLength

  • $HistoryLength specifies the number of previous lines of input and output to keep in a Mathematica session.
  • The default setting for $HistoryLength is Infinity.
  • Values of In[ n ] and Out[ n ] corresponding to lines before those kept are explicitly cleared.
  • Using smaller values of $HistoryLength can save substantial amounts of memory in a Mathematica session.
  • See the Mathematica book: Section 2.13.1.
  • See also: $Line.


    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.