609101723 opened a new issue #12618:
URL: https://github.com/apache/pulsar/issues/12618


   Just like issue #12408, I raised a question. I kept creating and closing 
producers, but the memory would not be released. I saw that the problem had 
been solved. When I re installed pulsar client with PIP, I found that the 
program would be released when I ran the program for the first time, and the 
memory would not be released when I closed the program for the second time
   The procedure is as follows(I installed it using pip3):
   import pulsar
   
   StrPulsar = "pulsar://192.168.1.2:30771"
   StrTopic = "Test"
   
   while True:
   pulsarClient = pulsar.Client(StrPulsar, operation_timeout_seconds = 3)
   producer = pulsarClient.create_producer(StrTopic, send_timeout_millis=3000)
   producer.close()
   pulsarClient.close()


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to