Largest input the reader accepts. Measured, not guessed: in Node 22 with
rhino3dm 8.35.0 a 403 MB file of dense double-precision meshes read with the
wasm heap at 1,885 MB of its 2,048 MB limit, 429 MB reached 1,964 MB, and
477 MB failed at the limit. The table is under "Size ceiling" in
docs/architecture/rhino-3dm-import.md. A file under the cap can still run
out of memory when its content expands more; that is reported the same way.
This module imports nothing, so a caller on a page's main thread can ask the
cap before it hands the bytes to a worker without loading rhino3dm.
Largest input the reader accepts. Measured, not guessed: in Node 22 with rhino3dm 8.35.0 a 403 MB file of dense double-precision meshes read with the wasm heap at 1,885 MB of its 2,048 MB limit, 429 MB reached 1,964 MB, and 477 MB failed at the limit. The table is under "Size ceiling" in docs/architecture/rhino-3dm-import.md. A file under the cap can still run out of memory when its content expands more; that is reported the same way.
This module imports nothing, so a caller on a page's main thread can ask the cap before it hands the bytes to a worker without loading rhino3dm.