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)
392392
393393 WASM_C_DUMP_PROC_MEM ();
394394
395- /* wasm_config_t->MemAllocOption -> RuntimeInitArgs->MemAllocOption */
396395 init_args .gc_heap_size = GC_HEAP_SIZE_DEFAULT ;
396+ /* wasm_config_t->MemAllocOption -> RuntimeInitArgs->MemAllocOption */
397397 init_args .mem_alloc_type = config -> mem_alloc_type ;
398398 memcpy (& init_args .mem_alloc_option , & config -> mem_alloc_option ,
399399 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
141141
142142### ** Enable Garbage Collection**
143143- ** 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
144145
145146### ** Configure Debug**
146147
You can’t perform that action at this time.
0 commit comments