{"action":"opened","issue":{"url":"https://api.github.com/repos/ngless-toolkit/ngless/issues/77","repository_url":"https://api.github.com/repos/ngless-toolkit/ngless","labels_url":"https://api.github.com/repos/ngless-toolkit/ngless/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/ngless-toolkit/ngless/issues/77/comments","events_url":"https://api.github.com/repos/ngless-toolkit/ngless/issues/77/events","html_url":"https://github.com/ngless-toolkit/ngless/issues/77","id":340426673,"node_id":"MDU6SXNzdWUzNDA0MjY2NzM=","number":77,"title":"tar expansion should not use so much memory","user":{"login":"luispedro","id":79334,"node_id":"MDQ6VXNlcjc5MzM0","avatar_url":"https://avatars3.githubusercontent.com/u/79334?v=4","gravatar_id":"","url":"https://api.github.com/users/luispedro","html_url":"https://github.com/luispedro","followers_url":"https://api.github.com/users/luispedro/followers","following_url":"https://api.github.com/users/luispedro/following{/other_user}","gists_url":"https://api.github.com/users/luispedro/gists{/gist_id}","starred_url":"https://api.github.com/users/luispedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luispedro/subscriptions","organizations_url":"https://api.github.com/users/luispedro/orgs","repos_url":"https://api.github.com/users/luispedro/repos","events_url":"https://api.github.com/users/luispedro/events{/privacy}","received_events_url":"https://api.github.com/users/luispedro/received_events","type":"User","site_admin":false},"labels":[{"id":24209971,"node_id":"MDU6TGFiZWwyNDIwOTk3MQ==","url":"https://api.github.com/repos/ngless-toolkit/ngless/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":737605256,"node_id":"MDU6TGFiZWw3Mzc2MDUyNTY=","url":"https://api.github.com/repos/ngless-toolkit/ngless/labels/help%20wanted","name":"help wanted","color":"45d628","default":true},{"id":842762608,"node_id":"MDU6TGFiZWw4NDI3NjI2MDg=","url":"https://api.github.com/repos/ngless-toolkit/ngless/labels/performance","name":"performance","color":"098e6d","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-11T22:23:47Z","updated_at":"2018-07-11T22:23:47Z","closed_at":null,"author_association":"COLLABORATOR","body":"Currently, tar expansion is done in such a way that files are expanded in memory as they are extracted. The relevant function is: https://github.com/ngless-toolkit/ngless/blob/89309c6309fdde53e53922580691fdd170e87dfe/NGLess/Utils/Network.hs#L69\r\n\r\nThe [tar-conduit](https://www.stackage.org/lts-12.0/package/tar-conduit-0.2.3.1) package should be able to stream the file correctly.\r\n"}}
{"actor":{"display_login":"luispedro"}}