WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

MemoryAvailable []

gives the estimated number of bytes readily available for storing additional data in the current Wolfram Language kernel session.

Details
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Tech Notes
Related Guides
History
Cite this Page

MemoryAvailable []

gives the estimated number of bytes readily available for storing additional data in the current Wolfram Language kernel session.

Details

  • MemoryAvailable [] reports memory that is available for allocation by your operating system.
  • MemoryAvailable [] is affected by other processes running on your computer system.
  • Dynamic [MemoryAvailable[]] gives dynamic results for available memory.
  • On Mac, MemoryAvailable [] returns the sum of free and inactive memory.
  • On Windows, MemoryAvailable [] returns the available memory reported by the operating system.
  • On Linux, MemoryAvailable [] returns the MemAvailable parameter value of /proc/meminfo.

Examples

Basic Examples  (3)

Memory available in the current kernel session:

Set up a dynamic display of available memory:

Measure memory available before and after a computation:

The difference in available memory is roughly accounted for by the structure created:

Tech Notes

Wolfram Research (2017), MemoryAvailable, Wolfram Language function, https://reference.wolfram.com/language/ref/MemoryAvailable.html.

Text

Wolfram Research (2017), MemoryAvailable, Wolfram Language function, https://reference.wolfram.com/language/ref/MemoryAvailable.html.

CMS

Wolfram Language. 2017. "MemoryAvailable." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MemoryAvailable.html.

APA

Wolfram Language. (2017). MemoryAvailable. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MemoryAvailable.html

BibTeX

@misc{reference.wolfram_2025_memoryavailable, author="Wolfram Research", title="{MemoryAvailable}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/MemoryAvailable.html}", note=[Accessed: 17-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_memoryavailable, organization={Wolfram Research}, title={MemoryAvailable}, year={2017}, url={https://reference.wolfram.com/language/ref/MemoryAvailable.html}, note=[Accessed: 17-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /