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 allclose 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:
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