From 89735b129537b1760a828228fe00ebc2e1bb6486 Mon Sep 17 00:00:00 2001 From: yellowhatter Date: Fri, 10 Jan 2025 11:48:35 +0300 Subject: [PATCH] change defaulkt shm size to 16mb to fit big topics --- rmw_zenoh_cpp/src/detail/zenoh_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmw_zenoh_cpp/src/detail/zenoh_config.cpp b/rmw_zenoh_cpp/src/detail/zenoh_config.cpp index dd960529..cd2fcad1 100644 --- a/rmw_zenoh_cpp/src/detail/zenoh_config.cpp +++ b/rmw_zenoh_cpp/src/detail/zenoh_config.cpp @@ -47,7 +47,7 @@ static const char * router_check_attempts_envar = "ZENOH_ROUTER_CHECK_ATTEMPTS"; static const char * zenoh_shm_enabled_envar = "ZENOH_SHM_ENABLED"; static const bool zenoh_shm_enabled_default = true; static const char * zenoh_shm_alloc_size_envar = "ZENOH_SHM_ALLOC_SIZE"; -static const size_t zenoh_shm_alloc_size_default = 1 * 1024 * 1024; +static const size_t zenoh_shm_alloc_size_default = 16 * 1024 * 1024; static const char * zenoh_shm_message_size_threshold_envar = "ZENOH_SHM_MESSAGE_SIZE_THRESHOLD"; static const size_t zenoh_shm_message_size_threshold_default = 2 * 1024; #endif