mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-12 04:31:14 +00:00

Use the cmake variable `WAMR_BUILD_GLOBAL_HEAP_POOL` and `WAMR_BUILD_GLOBAL_HEAP_SIZE` to enable/disable the global heap pool and set its size. And set the default global heap size in core/config.h and the cmake files. As a result, the developers who build iwasm can easily enable/disable the global heap pool and change its size regardless of the iwasm implementation, without manually finding and patching the right location for that value.
15 lines
489 B
XML
15 lines
489 B
XML
<!-- Please refer to User's Guide for the explanation of each field -->
|
|
<EnclaveConfiguration>
|
|
<ProdID>0</ProdID>
|
|
<ISVSVN>0</ISVSVN>
|
|
<StackMaxSize>0x100000</StackMaxSize>
|
|
<HeapMaxSize>0x8000000</HeapMaxSize>
|
|
<ReservedMemMaxSize>0x1000000</ReservedMemMaxSize>
|
|
<ReservedMemExecutable>1</ReservedMemExecutable>
|
|
<TCSNum>10</TCSNum>
|
|
<TCSPolicy>1</TCSPolicy>
|
|
<DisableDebug>0</DisableDebug>
|
|
<MiscSelect>0</MiscSelect>
|
|
<MiscMask>0xFFFFFFFF</MiscMask>
|
|
</EnclaveConfiguration>
|