Skip to content

Commit

Permalink
Match the number of memories to the number of core instances (fastly#322
Browse files Browse the repository at this point in the history
)
  • Loading branch information
elliottt authored and cmckendry committed Feb 8, 2024
1 parent 8a0c369 commit d009ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ fn configure_wasmtime(profiling_strategy: ProfilingStrategy) -> wasmtime::Config
pooling_allocation_config.max_core_instance_size(MB);

// Core wasm programs have 1 memory
pooling_allocation_config.total_memories(1);
pooling_allocation_config.total_memories(100);
pooling_allocation_config.max_memories_per_module(1);

// allow for up to 128MiB of linear memory. Wasm pages are 64k
Expand Down

0 comments on commit d009ba0

Please sign in to comment.