Skip to content

possible memory leak #96

@sicklife

Description

@sicklife

BUG REPORT

  1. Please describe the issue you observed:

here is my code

import uuid

from rocketmq.client import Producer, Message

producer = Producer(str(uuid.uuid1()), max_message_size=1000000)

producer.set_name_server_address(".....")

producer.start()

for _ in range(1000000):
    msg = Message("test_topic")

    msg.set_body("test_mg ")

    msg.set_tags("*")

    producer.send_sync(msg)

producer.shutdown()
  • What did you expect to see?
    progress memory is steady.

  • What did you see instead?
    the res memory of this process is continues to grow. Infact the memory will continue grow until eat up all memory avialable.

  1. Please tell us about your environment:
  • What is your OS?
    centos7

  • What is your client version?
    lastest from pip

  • What is your RocketMQ version?
    4.4.0

  1. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions