ToMemory[obj]
returns an in-memory version of the out-of-core object obj.


ToMemory
ToMemory[obj]
returns an in-memory version of the out-of-core object obj.
Details

- Supported objects obj include:
-
otab out-of-core Tabular object audio out-of-core Audio object video out-of-core Video object - In-memory version of large objects increases the memory in use as well as the notebook size. It is generally not recommended to have in-core representation of very large objects.
Examples
open all close allBasic Examples (2)
Scope (2)
Inspect the out-of-core resource location:
This creates an in-memory Audio object:
Inspect the out-of-core resource location:
The byte count of this out-of-core object is very small and does not increase with object size:
This creates an in-memory Video object:
Byte count of the in-memory version of the object is much larger and increases with larger resources:
See Also
Related Guides
History
Text
Wolfram Research (2025), ToMemory, Wolfram Language function, https://reference.wolfram.com/language/ref/ToMemory.html.
CMS
Wolfram Language. 2025. "ToMemory." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ToMemory.html.
APA
Wolfram Language. (2025). ToMemory. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ToMemory.html
BibTeX
@misc{reference.wolfram_2025_tomemory, author="Wolfram Research", title="{ToMemory}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ToMemory.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_tomemory, organization={Wolfram Research}, title={ToMemory}, year={2025}, url={https://reference.wolfram.com/language/ref/ToMemory.html}, note=[Accessed: 11-August-2025]}