Skip to content

cvcGL wasm demos: raise MAXIMUM_MEMORY to 4GB - #250

Merged
transfix merged 2 commits into
masterfrom
wasm-max-memory
Aug 28, 2026
Merged

transfix merged 2 commits into
masterfrom
wasm-max-memory

Conversation

@transfix

Copy link
Copy Markdown
Owner

The Austin buildings' color/normal arrays produce a ~140 MB vtkFloatArray; the default wasm heap ceiling can land short of it under VTK's other allocations. Bump -sMAXIMUM_MEMORY=4GB so wasm32 can grow into the full 4 GB address space.

Austin buildings' color/normal arrays hit a 140 MB vtkFloatArray during
mesh assembly; the default MAXIMUM_MEMORY sometimes lands short of that
once VTK's other buffers are in the heap and throws mid-scene. wasm32
addresses up to 4 GB — extend the growth ceiling so the full scene fits.
@transfix
transfix merged commit b65376c into master Aug 28, 2026
12 checks passed
@transfix
transfix deleted the wasm-max-memory branch October 29, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant