Joaquín Ossandon

Results 22 comments of Joaquín Ossandon

I've tested `daphne` and `hypercorn` alongside `uvicorn`. All three show a similar pattern of memory usage, increasing steadily up to around 160 MiB. Despite this, they continue to consume more...

Sure! I'll try to find time today to prepare a report on `memray --leaks` for each protocol server and test the PubSub layer. I'll get back to you soon, thanks!

So I tried multiple combinations. All HTML reports from `memray` are here: [reports.zip](https://github.com/django/channels/files/15178715/reports.zip) But below there are screenshots from them. First, tried with Redis Channels (not PubSub) to get memory...

I've made it to make `hypercorn` work! For some reason the websocket messages that were bytes-only were sent as `{"text": None, "bytes": ... }` just in hypercorn so the function...

Still there is a memory leak in my application with `hypercorn` 😕 It seems that `memray` just doesn't work with it, because `memory-profiler` does show a constant non-stop increase with...

Hey @carltongibson, thank you for taking a look. Yep, but if you zoom in `redis-pubsub-daphe` it just decelerates the memory increase (click on the graph). I think the first rise...

@carltongibson, do you have any clue about what's happening? Or what else can I try? I'm willing to try anything!

@carltongibson all my samples are from using `RedisChannelLayer` or `RedisPubSubLayer`, with `uvicorn`, `daphne` or `hypercorn`, with the tutorial example. My app has the problem too but I think it's a...

@carltongibson no :( that's actually the thing that I'm struggling on: finding the memory leak 😓 I really tried every tool to detect it, but nothing noticeable or strange in...

@mitgr81 what tools do you use to monitor and restart? For now I would love to implement that. Will take a look on those resources!