Skip to content

Commit

Permalink
[fix][client] Fix perf-producer get OOM with high publish latency (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
codelipenghui committed Aug 3, 2023
1 parent c0f23eb commit 69298da
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
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;

Expand Down Expand Up @@ -67,7 +66,6 @@ public static ClientBuilder createClientBuilderFromArguments(PerformanceBaseArgu
throws PulsarClientException.UnsupportedAuthenticationException {

ClientBuilder clientBuilder = PulsarClient.builder()
.memoryLimit(0, SizeUnit.BYTES)
.serviceUrl(arguments.serviceURL)
.connectionsPerBroker(arguments.maxConnections)
.ioThreads(arguments.ioThreads)
Expand Down

0 comments on commit 69298da

Please sign in to comment.