Skip to content

[Bug] OOM on running pulsar-perf #18926

Description

@Amiaozhou

Search before asking

  • I searched in the issues and found nothing similar.

Version

OS:Linux version 3.10.0-1160.el7.x86_64
Pulsar: apache-pulsar-2.10.1

Minimal reproduce step

1)benchmark test:
bin/pulsar-perf produce -r 8000 -n 1 -threads 3 -c 10 -s 1024 persistent://my_tenant/my_tomcat_mulstag/threads-topic-08

What did you expect to see?

always right send

What did you see instead?

org.apache.pulsar.common.allocator.PulsarByteBufAllocator - Exiting JVM process for OOM error: failed to allocate 4194304 byte(s) of direct memory (used: 28630319104, max: 28631367680)
io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 4194304 byte(s) of direct memory (used: 28630319104, max: 28631367680)

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clitype/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions