ToMemory

ToMemory[obj]

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

更多信息

  • Supported objects obj include:
  • otabout-of-core Tabular object
    audioout-of-core Audio object
    videoout-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.

范例

打开所有单元关闭所有单元

基本范例  (2)

Create a Tabular object backed by a relational database:

Bring it into memory:

Perform operations on the SQL-backed Tabular object before bringing it into memory:

Scope  (2)

Audio object:

Inspect the out-of-core resource location:

This creates an in-memory Audio object:

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

Properties & Relations  (1)

Operations that are supported by out-of-core Tabular objects generally commute with ToMemory:

Wolfram Research (2025),ToMemory,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ToMemory.html.

文本

Wolfram Research (2025),ToMemory,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ToMemory.html.

CMS

Wolfram 语言. 2025. "ToMemory." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ToMemory.html.

APA

Wolfram 语言. (2025). ToMemory. Wolfram 语言与系统参考资料中心. 追溯自 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: 15-January-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: 15-January-2025 ]}