Hi @dataprofessor We have deployed docker containerized app in K8s and we are facing the memory leak problem. We profiled the app as suggested in 3 steps to fix app memory leaks and we found the following streamlit objects from step2. Could you please advise how to proceed further to fix this?
{ β/opt/venv/lib/python3.9/site-packages/streamlit/components/v1/components.py:208β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/components/v1/components.py:218β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/cursor.py:121β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/cursor.py:49β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/delta_generator.py:262β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/button.py:754β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/button.py:763β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/button.py:764β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/checkbox.py:307β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/checkbox.py:316β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/checkbox.py:317β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/multiselect.py:105β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/multiselect.py:335β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/multiselect.py:344β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/multiselect.py:345β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/number_input.py:442β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/number_input.py:450β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/number_input.py:451β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/radio.py:311β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/radio.py:320β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/radio.py:321β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/selectbox.py:279β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/selectbox.py:288β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/selectbox.py:289β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/slider.py:158β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/slider.py:654β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/slider.py:663β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/slider.py:664β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/time_widgets.py:158β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/time_widgets.py:747β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/time_widgets.py:756β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/time_widgets.py:757β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/elements/widgets/time_widgets.py:91β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/app_session.py:157β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/app_session.py:354β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/app_session.py:355β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/app_session.py:356β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/app_session.py:393β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_data_api.py:641β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_resource_api.py:435β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_resource_api.py:436β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_utils.py:175β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_utils.py:203β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_utils.py:211β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_utils.py:216β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_utils.py:223β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_utils.py:458β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/hashing.py:169β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/hashing.py:178β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/caching/hashing.py:214β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/metrics_util.py:291β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/metrics_util.py:388β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/metrics_util.py:389β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/runtime.py:639β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_requests.py:187β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_requests.py:77β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_run_context.py:87β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_run_context.py:88β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_run_context.py:89β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_run_context.py:90β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_run_context.py:97β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_run_context.py:98β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:138β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:144β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:145β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:148β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:151β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:221β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:267β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:269β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:287β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:294β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:399β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:534β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:535β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py:672β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/common.py:211β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/query_params.py:75β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/safe_session_state.py:43β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py:138β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py:175β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py:179β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py:189β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py:550β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py:568β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py:577β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/session_state.py:590β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/widgets.py:152β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/runtime/state/widgets.py:153β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/type_util.py:658β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/watcher/local_sources_watcher.py:118β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/web/server/browser_websocket_handler.py:103β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit/web/server/browser_websocket_handler.py:163β: 2,
β/opt/venv/lib/python3.9/site-packages/streamlit_local_storage/init.py:29β: 2 }