No way to cleanup used memory
See original GitHub issueWhen you embed bokeh plots by manually inserting div and script you get from components
there is no obvious way to clean up the memory when you no longer need plots. This results into memory leaking.
Example code can be found here: https://github.com/sashabaranov/bokeh-leak-example
Also this issue on stackoverflow: http://stackoverflow.com/questions/39895717/remove-bokeh-plot-without-leaking-memory
% bokeh info
Python version : 2.7.12 (default, Sep 30 2016, 15:42:31)
IPython version : Not installed
Bokeh version : 0.12.3
BokehJS static path : /Users/sashab1/.virtualenvs/bokeh-leak-example/lib/python2.7/site-packages/bokeh/server/static
Issue Analytics
- State:
- Created 7 years ago
- Comments:25 (13 by maintainers)
Top Results From Across the Web
How to Free Up RAM and Reduce RAM Usage on Windows
Learn how to reduce RAM usage on your Windows computer, ... Apps > Apps & features and clicking Uninstall on any app you...
Read more >10+ Ways to Free up RAM On Your Windows or Mac Device
Search “Activity Monitor” in the spotlight search bar (command + space). Click on the “Memory” tab. Remove unwanted applications. 3. Check CPU ...
Read more >How to free up RAM: 15+ effective methods for Windows and ...
1. Restart your device · 2. Try other browsers · 3. Clear RAM cache · 4. Update software to latest versions · 5....
Read more >7 Ways to Clear Memory and Boost RAM on Windows
1. RAM Hogs: Low Hanging Fruit. The fastest and easiest way to clear up memory that's being used is to make sure there...
Read more >How to Clean Up Computer Memory Space
Click the name of a program you no longer need and click “Uninstall” to remove the program. 5. Repeat this for each program...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I prepared a Codepen to illustrate the bug I get … but it finally proves the problem is somewhere else because I don’t get these Bokeh plots remaining in that demo.
@dracorpg @sashabaranov I just want to thank you very much for digging into this and running down these details, your experience is extremely valuable and appreciated