{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/blaze/issues/987","labels_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/987/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/987/comments","events_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/987/events","html_url":"https://github.com/ContinuumIO/blaze/issues/987","id":60589561,"number":987,"title":"Using blaze within IPython notebooks","user":{"login":"michaelaye","id":69774,"avatar_url":"https://avatars.githubusercontent.com/u/69774?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelaye","html_url":"https://github.com/michaelaye","followers_url":"https://api.github.com/users/michaelaye/followers","following_url":"https://api.github.com/users/michaelaye/following{/other_user}","gists_url":"https://api.github.com/users/michaelaye/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelaye/subscriptions","organizations_url":"https://api.github.com/users/michaelaye/orgs","repos_url":"https://api.github.com/users/michaelaye/repos","events_url":"https://api.github.com/users/michaelaye/events{/privacy}","received_events_url":"https://api.github.com/users/michaelaye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-03-10T23:59:29Z","updated_at":"2015-03-11T19:03:13Z","closed_at":null,"body":"I noticed that memory is not released somewhere when I'm using blaze inside an IPython notebook (v3.0.0):\r\n\r\nDoing this on a 12 GB HDFStore file:\r\n\r\n```python\r\nimport blaze as bz\r\np4data = bz.Data( 'hdfstore://'+dbfile+'::df')\r\np4data.x.mean()\r\n```\r\nI see the process going up and down in memory consumption, which I expected to, maybe reading things in chunks, but unfortunately when done, it stays at a memory size of 6 GB. I assume this might be due to the notebooks internal caching? Is there a workaround?\r\n\r\nUsing Python 3.4.\r\n"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/blaze/issues/comments/78347046","html_url":"https://github.com/ContinuumIO/blaze/issues/987#issuecomment-78347046","issue_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/987","id":78347046,"user":{"login":"michaelaye","id":69774,"avatar_url":"https://avatars.githubusercontent.com/u/69774?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelaye","html_url":"https://github.com/michaelaye","followers_url":"https://api.github.com/users/michaelaye/followers","following_url":"https://api.github.com/users/michaelaye/following{/other_user}","gists_url":"https://api.github.com/users/michaelaye/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelaye/subscriptions","organizations_url":"https://api.github.com/users/michaelaye/orgs","repos_url":"https://api.github.com/users/michaelaye/repos","events_url":"https://api.github.com/users/michaelaye/events{/privacy}","received_events_url":"https://api.github.com/users/michaelaye/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T19:03:13Z","updated_at":"2015-03-11T19:03:13Z","body":"Up to you. I still think somebody needs to work on the fact that when working inside IPython notebooks, one encounters invisible memory leaks. I call them invisible, because when I would assign objects to variables, I would at least understand that I have a cached item. But if all I do is an odo conversion without any local storage, and my Python task grows from 140 MB to 1.2 GB (just confirmed with the updated odo), I start to worry."}}