We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey guys,
I'm seeing a memory leak when using the 2.0.0 version of the library. Each call to basic_publish is increasing the memory consumption.
You can check the code below that easily triggers the issue. I'm seeing this behaviour on Ubuntu and OS X.
Details: Python: 3.6.6 RabbitMQ: 3.7.6 Erlang: 20.3.5
Code:
from librabbitmq import Connection, Message with Connection(host=HOST, port=PORT, userid=USERNAME, password=PASSWORD, virtual_host="/") as conn: with conn.channel() as channel: channel.exchange_declare(exchange='re', type='direct', auto_delete=False) data = json.dumps({ 'some_key': 'some_value' }) message = Message(channel=channel, properties={}, body=data) while True: channel.basic_publish(message, 're', routing_key='')
I used the same code with amqp library and there wasn't any issue.
Can someone help figure this out?
Thanks
The text was updated successfully, but these errors were encountered:
Fix memory leaks from "Maybe_Unicode" (fixes celery#27 celery#125)
0ecae9a
Fix setup.py error: import six
58b3d9d
Fix memory leaks from "Maybe_Unicode" (fixes #27 #125)
13a49b0
No branches or pull requests
Hey guys,
I'm seeing a memory leak when using the 2.0.0 version of the library. Each call to basic_publish is increasing the memory consumption.
You can check the code below that easily triggers the issue. I'm seeing this behaviour on Ubuntu and OS X.
Details:
Python: 3.6.6
RabbitMQ: 3.7.6
Erlang: 20.3.5
Code:
I used the same code with amqp library and there wasn't any issue.
Can someone help figure this out?
Thanks
The text was updated successfully, but these errors were encountered: