Skip to content

Commit b52b012

Browse files
authored
Merge pull request #13461 from travisdowns/td-partition-memory-4mb
Increase topic_memory_per_partition to 4 MiB
2 parents 2b8ebb6 + 04e9ce6 commit b52b012

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/v/config/configuration.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ configuration::configuration()
149149
"topic_memory_per_partition",
150150
"Required memory per partition when creating topics",
151151
{.needs_restart = needs_restart::no, .visibility = visibility::tunable},
152-
1_MiB,
152+
4_MiB,
153153
{
154154
.min = 1, // Must be nonzero, it's a divisor
155155
.max = 100_MiB // Rough 'sanity' limit: a machine with 1GB RAM must be

src/v/kafka/server/tests/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ rp_test(
7373
SOURCES fetch_plan_bench.cc
7474
LIBRARIES Seastar::seastar_perf_testing Boost::unit_test_framework v::application
7575
# the args below are just to keep it fast
76-
ARGS "-c 1 --duration=1 --runs=1 --memory=1G"
76+
ARGS "-c 1 --duration=1 --runs=1 --memory=4G"
7777
LABELS kafka
7878
)

0 commit comments

Comments
 (0)