From 5539636b5b0e05fba4b3b20fbd0174f81eaed36f Mon Sep 17 00:00:00 2001 From: Zhen Ye Date: Mon, 16 Jun 2025 23:18:37 +0800 Subject: [PATCH] fix: oom bookie when applying test (#42776) issue: #42769 Signed-off-by: chyezh --- tests/_helm/values/e2e/distributed-pulsar | 5 +++++ tests/_helm/values/nightly/distributed-pulsar-mmap | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/tests/_helm/values/e2e/distributed-pulsar b/tests/_helm/values/e2e/distributed-pulsar index 4bab346958..ece9f07a9e 100644 --- a/tests/_helm/values/e2e/distributed-pulsar +++ b/tests/_helm/values/e2e/distributed-pulsar @@ -146,6 +146,11 @@ pulsarv3: limits: cpu: "0.5" memory: 2Gi + configData: + PULSAR_MEM: > + -Xms512m + -Xmx512m + -XX:MaxDirectMemorySize=1024m tolerations: - effect: NoSchedule key: node-role.kubernetes.io/e2e diff --git a/tests/_helm/values/nightly/distributed-pulsar-mmap b/tests/_helm/values/nightly/distributed-pulsar-mmap index cc798535c4..2f39a15589 100644 --- a/tests/_helm/values/nightly/distributed-pulsar-mmap +++ b/tests/_helm/values/nightly/distributed-pulsar-mmap @@ -132,6 +132,11 @@ pulsarv3: limits: cpu: "0.5" memory: 2Gi + configData: + PULSAR_MEM: > + -Xms512m + -Xmx512m + -XX:MaxDirectMemorySize=1024m tolerations: - effect: NoSchedule key: node-role.kubernetes.io/e2e