-
-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Issues with Panel app #1399
Comments
I'd have to see more details about your app. Sessions should definitely be cleaned up after you close the browser, but it may take a little (like a minute or two). Based on that plot that doesn't seem to be happening in your case. |
A Small example
panel serve example.py --num-procs 1 --log-level debug --mem-log-frequency 15000 You will find that documents and models remain uncollected. |
Thank you! |
#1407 should fix these issues. I'm now debating whether to backport part of that fix and release 0.9.6 or wait for 0.10.0. |
In the meantime, can you tag a dev release so that we can evaluate this fix on our deployments? |
Hi,

I have built a panel app. When I connect to my app via the browser, the app is executed and takes up some memory. When I close the tab, open another tab and connect again, the memory used increases. If I keep doing this, the memory consumption keeps increasing until the machine runs out of memory.
I have attached a diagnostic plot that shows memory usage, I connected via one browser, closed it then commented few others then closed them also. But memory doesn't return to baseline.
Any workarounds for this memory consumption issue?
The text was updated successfully, but these errors were encountered: