I don't believe what they have done with implementing a Queue(1) solves the
client oom errors.
This actually didn't solve the problem because the underlying implementation
still uses collection.deque() which was the issue to begin with.
websocket.py
self.read_queue = Queue(1)
queues.py
class Queue(object):
self._getters = collections.deque([]) # Futures.
self._putters = collections.deque([]) # Pairs of (item, Future).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1903733
Title:
Out of memory issue for websocket client
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-tornado/+bug/1903733/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs