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  /
MaxMemoryUsed

  • MaxMemoryUsed[ ] gives the maximum number of bytes used to store all data for the current Mathematica session.
  • On most computer systems, MaxMemoryUsed[ ] will give results close to those obtained from external process status requests.
  • MaxMemoryUsed[ ] will not typically account for code space, stack space or the effects of heap fragmentation.
  • See the Mathematica book: Section 2.13.4.
  • See also: MemoryInUse, ByteCount.