diff --git a/marine-examples/README.md b/marine-examples/README.md index 5366048..fcf2573 100644 --- a/marine-examples/README.md +++ b/marine-examples/README.md @@ -76,7 +76,7 @@ modules_dir = "artifacts/" # <- 1 [[module]] name = "greeting" # <- 2 - mem_pages_count = 1 # <- 3 + max_heap_size = "10 KiB" # <- 3 logger_enabled = false # <- 4 ``` @@ -146,12 +146,12 @@ modules_dir = "artifacts/" [[module]] name = "records_effector" - mem_pages_count = 1 + max_heap_size = "10 KiB" logger_enabled = true [[module]] name = "records_pure" - mem_pages_count = 1 + max_heap_size = "10 KiB" logger_enabled = true ``` @@ -208,7 +208,7 @@ modules_dir = "artifacts/" [[module]] <- 1 name = "sqlite3" - mem_pages_count = 100 + max_heap_size = "100 KiB" logger_enabled = false [module.wasi] @@ -217,7 +217,7 @@ modules_dir = "artifacts/" [[module]] <- 2 name = "sqlite_test" - mem_pages_count = 1 + max_heap_size = "10 KiB" logger_enabled = false [module.wasi] diff --git a/marine-examples/build_rs/Config.toml b/marine-examples/build_rs/Config.toml index c4b3535..27c94bc 100644 --- a/marine-examples/build_rs/Config.toml +++ b/marine-examples/build_rs/Config.toml @@ -1,6 +1,6 @@ modules_dir = "artifacts/" [[module]] - name = "build_rs_test" - mem_pages_count = 50 - logger_enabled = false +name = "build_rs_test" +max_heap_size = "50 KiB" +logger_enabled = false diff --git a/marine-examples/call_parameters/Config.toml b/marine-examples/call_parameters/Config.toml index 2e3a912..cfac22c 100644 --- a/marine-examples/call_parameters/Config.toml +++ b/marine-examples/call_parameters/Config.toml @@ -1,6 +1,6 @@ modules_dir = "artifacts/" [[module]] - name = "call_parameters" - mem_pages_count = 1 - logger_enabled = false +name = "call_parameters" +max_heap_size = "10 KiB" +logger_enabled = false diff --git a/marine-examples/greeting/Config.toml b/marine-examples/greeting/Config.toml index 2e740e3..a094232 100644 --- a/marine-examples/greeting/Config.toml +++ b/marine-examples/greeting/Config.toml @@ -1,6 +1,6 @@ modules_dir = "artifacts/" [[module]] - name = "greeting" - mem_pages_count = 1 - logger_enabled = false +name = "greeting" +max_heap_size = "10 Kib" +logger_enabled = false diff --git a/marine-examples/multiservice_marine_test/consumer/Config.toml b/marine-examples/multiservice_marine_test/consumer/Config.toml index f3737a3..88c2186 100644 --- a/marine-examples/multiservice_marine_test/consumer/Config.toml +++ b/marine-examples/multiservice_marine_test/consumer/Config.toml @@ -2,5 +2,5 @@ modules_dir = "artifacts/" [[module]] name = "consumer" -mem_pages_count = 50 +max_heap_size = "50 KiB" logger_enabled = false diff --git a/marine-examples/multiservice_marine_test/producer/Config.toml b/marine-examples/multiservice_marine_test/producer/Config.toml index a35b5b5..426dbcc 100644 --- a/marine-examples/multiservice_marine_test/producer/Config.toml +++ b/marine-examples/multiservice_marine_test/producer/Config.toml @@ -2,5 +2,5 @@ modules_dir = "artifacts/" [[module]] name = "producer" -mem_pages_count = 50 +max_heap_size = "50 KiB" logger_enabled = false diff --git a/marine-examples/records/Config.toml b/marine-examples/records/Config.toml index cdd67f4..d86e4c1 100644 --- a/marine-examples/records/Config.toml +++ b/marine-examples/records/Config.toml @@ -1,11 +1,11 @@ modules_dir = "artifacts/" [[module]] - name = "records_effector" - mem_pages_count = 1 - logger_enabled = true +name = "records_effector" +max_heap_size = "10 KiB" +logger_enabled = true [[module]] - name = "records_pure" - mem_pages_count = 1 - logger_enabled = true +name = "records_pure" +max_heap_size = "10 KiB" +logger_enabled = true diff --git a/marine-examples/sqlite/Config.toml b/marine-examples/sqlite/Config.toml index 08eb910..c2a1746 100644 --- a/marine-examples/sqlite/Config.toml +++ b/marine-examples/sqlite/Config.toml @@ -1,19 +1,19 @@ modules_dir = "artifacts/" [[module]] - name = "sqlite3" - mem_pages_count = 100 - logger_enabled = false +name = "sqlite3" +max_heap_size = "100 KiB" +logger_enabled = false - [module.wasi] - preopened_files = ["/tmp"] - mapped_dirs = { "tmp" = "/tmp" } +[module.wasi] +preopened_files = ["/tmp"] +mapped_dirs = { "tmp" = "/tmp" } [[module]] - name = "sqlite_test" - mem_pages_count = 1 - logger_enabled = false +name = "sqlite_test" +max_heap_size = "10 KiB" +logger_enabled = false - [module.wasi] - preopened_files = ["/tmp"] - mapped_dirs = { "tmp" = "/tmp" } +[module.wasi] +preopened_files = ["/tmp"] +mapped_dirs = { "tmp" = "/tmp" }