Updating images in a while loop keeps increasing RAM, even after sessions are closed and cleaned up

I tried your code but I am using windows 10. I also did not use conda. I created a virtual environment.

  • Run the app, I saw memory usage increase.
  • Duplicate tabs to increase memory usage rate. Total tabs is 4.
  • Close the 3 tabs.
  • Press the stop button for the last tab.
  • The memory usage was back to normal.

I have no memory issue with it.

1 Like