This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch branch-2.11
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.11 by this push:
new 28bef559514 [fix][client] Fix perf-producer get OOM with high publish
latency (#20914)
28bef559514 is described below
commit 28bef5595147147160814304e3f4d3648bc7e534
Author: Penghui Li <[email protected]>
AuthorDate: Thu Aug 3 10:28:32 2023 +0800
[fix][client] Fix perf-producer get OOM with high publish latency (#20914)
---
.../src/main/java/org/apache/pulsar/testclient/PerfClientUtils.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerfClientUtils.java
b/pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerfClientUtils.java
index 1ce5777fd32..2be103b3df1 100644
---
a/pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerfClientUtils.java
+++
b/pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerfClientUtils.java
@@ -30,7 +30,6 @@ import org.apache.pulsar.client.admin.PulsarAdminBuilder;
import org.apache.pulsar.client.api.ClientBuilder;
import org.apache.pulsar.client.api.PulsarClient;
import org.apache.pulsar.client.api.PulsarClientException;
-import org.apache.pulsar.client.api.SizeUnit;
import org.apache.pulsar.common.util.DirectMemoryUtils;
import org.slf4j.Logger;
@@ -67,7 +66,6 @@ public class PerfClientUtils {
throws PulsarClientException.UnsupportedAuthenticationException {
ClientBuilder clientBuilder = PulsarClient.builder()
- .memoryLimit(0, SizeUnit.BYTES)
.serviceUrl(arguments.serviceURL)
.connectionsPerBroker(arguments.maxConnections)
.ioThreads(arguments.ioThreads)