{"action":"closed","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/5355","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/5355/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/5355/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/5355/events","html_url":"https://github.com/bokeh/bokeh/issues/5355","id":183098390,"node_id":"MDU6SXNzdWUxODMwOTgzOTA=","number":5355,"title":"No way to cleanup used memory","user":{"login":"sashabaranov","id":677093,"node_id":"MDQ6VXNlcjY3NzA5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/677093?v=4","gravatar_id":"","url":"https://api.github.com/users/sashabaranov","html_url":"https://github.com/sashabaranov","followers_url":"https://api.github.com/users/sashabaranov/followers","following_url":"https://api.github.com/users/sashabaranov/following{/other_user}","gists_url":"https://api.github.com/users/sashabaranov/gists{/gist_id}","starred_url":"https://api.github.com/users/sashabaranov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashabaranov/subscriptions","organizations_url":"https://api.github.com/users/sashabaranov/orgs","repos_url":"https://api.github.com/users/sashabaranov/repos","events_url":"https://api.github.com/users/sashabaranov/events{/privacy}","received_events_url":"https://api.github.com/users/sashabaranov/received_events","type":"User","site_admin":false},"labels":[{"id":165234083,"node_id":"MDU6TGFiZWwxNjUyMzQwODM=","url":"https://api.github.com/repos/bokeh/bokeh/labels/tag:%20component:%20bokehjs","name":"tag: component: bokehjs","color":"D0CBB8","default":false},{"id":106468141,"node_id":"MDU6TGFiZWwxMDY0NjgxNDE=","url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20task","name":"type: task","color":"872A50","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/bokeh/bokeh/milestones/11","html_url":"https://github.com/bokeh/bokeh/milestone/11","labels_url":"https://api.github.com/repos/bokeh/bokeh/milestones/11/labels","id":811343,"node_id":"MDk6TWlsZXN0b25lODExMzQz","number":11,"title":"short-term","description":"Collects issues that need to be resolved soon, but not before the next release.\r\nThis milestone is always open and it gets populated from the either the long-term milestone or from new (unmilestoned) issues.\r\n\r\nRef: https://github.com/ContinuumIO/bokeh/wiki/BEP-1:-Issues-and-PRs-management#issue-times","creator":{"login":"damianavila","id":1640669,"node_id":"MDQ6VXNlcjE2NDA2Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/1640669?v=4","gravatar_id":"","url":"https://api.github.com/users/damianavila","html_url":"https://github.com/damianavila","followers_url":"https://api.github.com/users/damianavila/followers","following_url":"https://api.github.com/users/damianavila/following{/other_user}","gists_url":"https://api.github.com/users/damianavila/gists{/gist_id}","starred_url":"https://api.github.com/users/damianavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianavila/subscriptions","organizations_url":"https://api.github.com/users/damianavila/orgs","repos_url":"https://api.github.com/users/damianavila/repos","events_url":"https://api.github.com/users/damianavila/events{/privacy}","received_events_url":"https://api.github.com/users/damianavila/received_events","type":"User","site_admin":false},"open_issues":335,"closed_issues":1,"state":"open","created_at":"2014-10-02T12:30:03Z","updated_at":"2018-09-27T17:57:48Z","due_on":null,"closed_at":null},"comments":20,"created_at":"2016-10-14T16:50:16Z","updated_at":"2018-09-27T17:57:48Z","closed_at":"2018-09-27T17:57:48Z","author_association":"NONE","body":"When 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.\n\nExample code can be found here: https://github.com/sashabaranov/bokeh-leak-example\n\nAlso this issue on stackoverflow: http://stackoverflow.com/questions/39895717/remove-bokeh-plot-without-leaking-memory\n\n```\n% bokeh info\nPython version      :  2.7.12 (default, Sep 30 2016, 15:42:31)\nIPython version     :  Not installed\nBokeh version       :  0.12.3\nBokehJS static path :  /Users/sashab1/.virtualenvs/bokeh-leak-example/lib/python2.7/site-packages/bokeh/server/static\n```\n"}}
{"actor":{"display_login":"bryevdv"}}