{"action":"created","issue":{"url":"https://api.github.com/repos/domenic/svg2png/issues/38","labels_url":"https://api.github.com/repos/domenic/svg2png/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/domenic/svg2png/issues/38/comments","events_url":"https://api.github.com/repos/domenic/svg2png/issues/38/events","html_url":"https://github.com/domenic/svg2png/issues/38","id":126632511,"number":38,"title":"Complete VM freeze while running the following gulp task","user":{"login":"marcofranssen","id":694733,"avatar_url":"https://avatars.githubusercontent.com/u/694733?v=3","gravatar_id":"","url":"https://api.github.com/users/marcofranssen","html_url":"https://github.com/marcofranssen","followers_url":"https://api.github.com/users/marcofranssen/followers","following_url":"https://api.github.com/users/marcofranssen/following{/other_user}","gists_url":"https://api.github.com/users/marcofranssen/gists{/gist_id}","starred_url":"https://api.github.com/users/marcofranssen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcofranssen/subscriptions","organizations_url":"https://api.github.com/users/marcofranssen/orgs","repos_url":"https://api.github.com/users/marcofranssen/repos","events_url":"https://api.github.com/users/marcofranssen/events{/privacy}","received_events_url":"https://api.github.com/users/marcofranssen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-14T11:07:45Z","updated_at":"2016-01-21T16:38:27Z","closed_at":null,"body":"Hi, \r\n\r\nOur development VM has 4GB of memory and 2CPU assigned at 75% execution cap. We are running the following gulp script to transform our svg to png. However 8 out of 10 times it completely kills the VM. The only solution is to just force a poweroff and reboot.\r\n\r\nIt is ran on a debian wheezy VM.\r\n\r\nI really hope there is someone with a solution for this issue.\r\n\r\n```javascript\r\ngulp.task('svg2png', ['clean-dest', 'build-iconfont'], function () {\r\n      return gulp.src(iconsInput)\r\n          .pipe(svg2png())\r\n          .pipe(gulp.dest(iconOutput));\r\n});\r\n```\r\n\r\nThe input are 109 SVGs. Is there a way to make it work without freezing the whole OS?"},"comment":{"url":"https://api.github.com/repos/domenic/svg2png/issues/comments/173627743","html_url":"https://github.com/domenic/svg2png/issues/38#issuecomment-173627743","issue_url":"https://api.github.com/repos/domenic/svg2png/issues/38","id":173627743,"user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T16:38:27Z","updated_at":"2016-01-21T16:38:27Z","body":"Yeah that's an option. Another option is to just limit the number of conversions you do in parallel. It looks like gulp-svg2png has a \"concurrency\" parameter you could use?"}}