{"action":"closed","issue":{"url":"https://api.github.com/repos/jxcore/jxcore/issues/822","repository_url":"https://api.github.com/repos/jxcore/jxcore","labels_url":"https://api.github.com/repos/jxcore/jxcore/issues/822/labels{/name}","comments_url":"https://api.github.com/repos/jxcore/jxcore/issues/822/comments","events_url":"https://api.github.com/repos/jxcore/jxcore/issues/822/events","html_url":"https://github.com/jxcore/jxcore/issues/822","id":130751956,"number":822,"title":" SM: out of memory when unzipping ios.zip from jxcore-cordova","user":{"login":"ktrzeciaknubisa","id":5946844,"avatar_url":"https://avatars.githubusercontent.com/u/5946844?v=3","gravatar_id":"","url":"https://api.github.com/users/ktrzeciaknubisa","html_url":"https://github.com/ktrzeciaknubisa","followers_url":"https://api.github.com/users/ktrzeciaknubisa/followers","following_url":"https://api.github.com/users/ktrzeciaknubisa/following{/other_user}","gists_url":"https://api.github.com/users/ktrzeciaknubisa/gists{/gist_id}","starred_url":"https://api.github.com/users/ktrzeciaknubisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktrzeciaknubisa/subscriptions","organizations_url":"https://api.github.com/users/ktrzeciaknubisa/orgs","repos_url":"https://api.github.com/users/ktrzeciaknubisa/repos","events_url":"https://api.github.com/users/ktrzeciaknubisa/events{/privacy}","received_events_url":"https://api.github.com/users/ktrzeciaknubisa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"obastemur","id":4390745,"avatar_url":"https://avatars.githubusercontent.com/u/4390745?v=3","gravatar_id":"","url":"https://api.github.com/users/obastemur","html_url":"https://github.com/obastemur","followers_url":"https://api.github.com/users/obastemur/followers","following_url":"https://api.github.com/users/obastemur/following{/other_user}","gists_url":"https://api.github.com/users/obastemur/gists{/gist_id}","starred_url":"https://api.github.com/users/obastemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obastemur/subscriptions","organizations_url":"https://api.github.com/users/obastemur/orgs","repos_url":"https://api.github.com/users/obastemur/repos","events_url":"https://api.github.com/users/obastemur/events{/privacy}","received_events_url":"https://api.github.com/users/obastemur/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-02T17:20:20Z","updated_at":"2016-02-03T15:15:53Z","closed_at":"2016-02-03T15:15:53Z","body":"SM has a problem with unpacking of `io.jxcore.node.jx` as @vjrantal reported. The package itself gets extracted successfully, but then it unzips a large ios.zip file by using `adm-zip` ([jxcore-cordova/index.js#L5-L8](https://github.com/jxcore/jxcore-cordova/blob/master/index.js#L5-L8)) and it ends up with out of memory exception. Indeed, the process grows up to 2GB RAM usage and then crashes.\r\n\r\nI'm not sure yet if this is adm-zip or jx SM related issue, however V8 handles that task correctly and never skips 250 MB of RAM."}}