Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 413 Bytes

features-4gb.md

File metadata and controls

15 lines (11 loc) · 413 Bytes
uid
UnoWasmBootstrap.Features.4gb

4GB memory support

The support for 4GB memory space is available by adding the following configuration:

<ItemGroup>
    <WasmShellExtraEmccFlags Include="-s MAXIMUM_MEMORY=4GB"/>
</ItemGroup>

The configuration can also be detected at runtime using the UNO_BOOTSTRAP_EMSCRIPTEN_MAXIMUM_MEMORY environment variable, which will be set to 4GB once set.