Hi
I have created a Streamlit app that I have been running both locally on my Mac Book Pro and on a Linux server with Ubuntu 20.04.1 LTS. I noticed a clear difference that the memory of the Ubuntu server is increasing continuously over time when used while on my Mac it is increasing when used but decreases after a while. The only difference is that the Ubuntu version uses a GPU instead of the CPU when running. Can it be the issue?
Unfortunately, I cannot share the source code, but I use Detectron2 that is built on pytorch for object detection.
EDIT: I just realised that I should try to se the behaviour with using only CPU on the Linux server also to see if that is the problem, but the problem remains even when the Linux server also only uses CPU. I use Streamlit 0.71.0.
Best regards
Tomas