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

Documentation / Mathematica / Built-in Functions / System Interface / Memory Usage /

MaxMemoryUsed

FilledSmallSquare MaxMemoryUsed[ ] gives the maximum number of bytes used to store all data for the current Mathematica session.

FilledSmallSquare On most computer systems, MaxMemoryUsed[ ] will give results close to those obtained from external process status requests.

FilledSmallSquare MaxMemoryUsed[ ] will not typically account for code space, stack space or the effects of heap fragmentation.

FilledSmallSquare See Section 2.14.4.

FilledSmallSquare See also: MemoryInUse, ByteCount.

FilledSmallSquare New in Version 1.

Further Examples