Severe memory leak when running sphinx headless

Hi, when trying to run sphinx headless according to the instructions under Running sphinx on an headless virtual machine, memory consumption increases rapidly and can quickly bring the whole system down.

I am able to reproduce this issue even without a virtual machine by following the instructions in the above link. In both cases I tested with Ubuntu 18.04 and checked memory consumption with htop. I also tried setting with_front_cam=“0” .

Is this a known issue? I see a similar report here but not sure if they are related.

Thanks!