zhushixia
zhushixia
@longcw hi, master, I also have a memory leak, creating 4000 rooms each time (client uses Room objects to connect the room), and then exit, repeat this several times, and...
> this happens even when you run it via Processes? [@zhushixia](https://github.com/zhushixia) The process has not happened, but it occupies too much memory and an appeal leak occurs in the thread
@longcw hi, master, https://github.com/livekit/agents/issues/1186#issuecomment-2836081048, Maybe this will help you locate the problem, I am from ubuntu too
when use job_executor_type=JobExecutorType.THREAD, the memory not drop when the room is disconnected
And every time the room is closed, the memory usage does not decrease, but instead increases
when use job_executor_type=JobExecutorType.THREAD, the memory not drop when the room is disconnected
env: system: ubuntu 22.04 livekit agent: 0.11.1