{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/3680","labels_url":"https://api.github.com/repos/astropy/astropy/issues/3680/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/3680/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/3680/events","html_url":"https://github.com/astropy/astropy/issues/3680","id":68047595,"number":3680,"title":"Memory leak with compressed FITS file","user":{"login":"rubendv","id":1076757,"avatar_url":"https://avatars.githubusercontent.com/u/1076757?v=3","gravatar_id":"","url":"https://api.github.com/users/rubendv","html_url":"https://github.com/rubendv","followers_url":"https://api.github.com/users/rubendv/followers","following_url":"https://api.github.com/users/rubendv/following{/other_user}","gists_url":"https://api.github.com/users/rubendv/gists{/gist_id}","starred_url":"https://api.github.com/users/rubendv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubendv/subscriptions","organizations_url":"https://api.github.com/users/rubendv/orgs","repos_url":"https://api.github.com/users/rubendv/repos","events_url":"https://api.github.com/users/rubendv/events{/privacy}","received_events_url":"https://api.github.com/users/rubendv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/io.fits","name":"io.fits","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-13T09:02:33Z","updated_at":"2015-04-13T10:43:51Z","closed_at":null,"body":"Under astropy 0.4.1, as well as under pyfits 3.3, the test case at https://github.com/rubendv/fits_memleak leaks a massive amount of memory. The provided testcase consumes about 6.5 GB on my computer by the end."},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/92304743","html_url":"https://github.com/astropy/astropy/issues/3680#issuecomment-92304743","issue_url":"https://api.github.com/repos/astropy/astropy/issues/3680","id":92304743,"user":{"login":"dpshelio","id":963242,"avatar_url":"https://avatars.githubusercontent.com/u/963242?v=3","gravatar_id":"","url":"https://api.github.com/users/dpshelio","html_url":"https://github.com/dpshelio","followers_url":"https://api.github.com/users/dpshelio/followers","following_url":"https://api.github.com/users/dpshelio/following{/other_user}","gists_url":"https://api.github.com/users/dpshelio/gists{/gist_id}","starred_url":"https://api.github.com/users/dpshelio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpshelio/subscriptions","organizations_url":"https://api.github.com/users/dpshelio/orgs","repos_url":"https://api.github.com/users/dpshelio/repos","events_url":"https://api.github.com/users/dpshelio/events{/privacy}","received_events_url":"https://api.github.com/users/dpshelio/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T10:43:51Z","updated_at":"2015-04-13T10:43:51Z","body":"I've tried in python 2 and 3 with the astropy master branch and I get the same issue.  I got 95% of my ram used (4GB) and 50% of my swap.  Running nothing else than just this script."}}