File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -392,8 +392,8 @@ wasm_engine_new_internal(wasm_config_t *config)
392
392
393
393
WASM_C_DUMP_PROC_MEM ();
394
394
395
- /* wasm_config_t->MemAllocOption -> RuntimeInitArgs->MemAllocOption */
396
395
init_args .gc_heap_size = GC_HEAP_SIZE_DEFAULT ;
396
+ /* wasm_config_t->MemAllocOption -> RuntimeInitArgs->MemAllocOption */
397
397
init_args .mem_alloc_type = config -> mem_alloc_type ;
398
398
memcpy (& init_args .mem_alloc_option , & config -> mem_alloc_option ,
399
399
sizeof (MemAllocOption ));
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ cmake -DWAMR_BUILD_PLATFORM=linux -DWAMR_BUILD_TARGET=ARM
141
141
142
142
### ** Enable Garbage Collection**
143
143
- ** WAMR_BUILD_GC** =1/0, default to disable if not set
144
+ - ** WAMR_BUILD_GC_HEAP_SIZE_DEFAULT** =n, default to 128 kB (131072) if not set
144
145
145
146
### ** Configure Debug**
146
147
You can’t perform that action at this time.
0 commit comments