3shao
3shao
Thank you for your reply. I use `master`, `meldoic-devel` didn't release. Now I use `meldoic-devel` , but when I run the launch, the error : ``` /opt/ros/melodic/lib/gmapping/slam_gmapping: symbol lookup error:...
Thanks ! But I use yield , it also be killed. ``` @gen.coroutine def send_message(self, message): yield self.write_message(message, True) ```
The client can get all the data from tornado. The frequency is low, it also will be killed (OOM).
Thanks for reply! My project is using websocket to send data , and I turn on periodic pings, then the connection won't close, that the project need. I use a...
I write an example that similar to my projects. ``` #!/usr/bin/python # -*- coding: utf-8 -*- ''' Created on Jun 21, 2018 @author: eaibot ''' from tornado.websocket import WebSocketHandler from...
oh, sorry ! I upload the wrong code, the right code is ``` @profile def doWithData(self, type): cls = self.__class__ count=0 while(True): count=count+1 if count==30: count=0 self.send_message(type) elif cls.clients_connected==0: break...
Thanks for reply ! My project only on python 2.7, so I only test on python 2.7. and I found that the memory management of python 2.7 is not better...
Yes, I tried to run the code for python2.7 with `@coroutine` and `yield`, but the result is also as that which every call will use more memory. So now I...
I set `'websocket_ping_interval':50,` to ping , so websocket is not disconnect. If I don't use memory profiler, use` free -h` on shell terminal , also found that the memory be...
@jbwdevries oh, thanks! I change the version on my project as you said, the result as you said. 5.X.X would increase memory , 4.X.X wouldn't. @bdarnell @ploxiln , I hope...