This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

ClearSystemCache

ClearSystemCache[]
clears internal system caches of stored results.
  • ClearSystemCache can be useful in generating worst-case timing results independent of previous computations.
The second evaluation uses a cached value:
Clearing the cache will force recomputation:
The second evaluation uses a cached value:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Clearing the cache will force recomputation:
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
New in 6