This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Memory Usage  /
MemoryInUse

  • MemoryInUse[ ] gives the number of bytes currently being used to store all data in the current Mathematica session.
  • See the Mathematica book: Section 2.13.4.
  • See also: MaxMemoryUsed, ByteCount, Share.
  • Related package: Utilities`MemoryConserve`.

    Further Examples

    Additional memory is needed to store the list.

    In[1]:=

    Out[1]=

    In[2]:=

    Out[2]=