Thanks to the whole forum, I created an application that runs heavy simulations and shares graphics.
I dockerized the application, and run the container.
The container memory usage increases for each new tab of my application. However, if I close the tab, the memory usage does not decrease. I feel like the page keeps running serverside instead of closing.
I have not found any resources about this issue. Does anyone know how to handle the tab/window closing event and how to cut the process?
I tried changing the server behaviour by setting server.permanent_session_lifetime and session. permanent. It does not seem to have any effect.