$HistoryLength
specifies the number of previous lines of input and output to keep in a Wolfram System session.
Details
- 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 Wolfram System session.
Examples
Wolfram Research (1996), $HistoryLength, Wolfram Language function, https://reference.wolfram.com/language/ref/$HistoryLength.html.
Text
Wolfram Research (1996), $HistoryLength, Wolfram Language function, https://reference.wolfram.com/language/ref/$HistoryLength.html.
CMS
Wolfram Language. 1996. "$HistoryLength." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$HistoryLength.html.
APA
Wolfram Language. (1996). $HistoryLength. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$HistoryLength.html