{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/9884","labels_url":"https://api.github.com/repos/npm/npm/issues/9884/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/9884/comments","events_url":"https://api.github.com/repos/npm/npm/issues/9884/events","html_url":"https://github.com/npm/npm/issues/9884","id":110289075,"number":9884,"title":"npm install is unbearably slow and uses TONS of CPU and RAM","user":{"login":"kfirba","id":8510486,"avatar_url":"https://avatars.githubusercontent.com/u/8510486?v=3","gravatar_id":"","url":"https://api.github.com/users/kfirba","html_url":"https://github.com/kfirba","followers_url":"https://api.github.com/users/kfirba/followers","following_url":"https://api.github.com/users/kfirba/following{/other_user}","gists_url":"https://api.github.com/users/kfirba/gists{/gist_id}","starred_url":"https://api.github.com/users/kfirba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfirba/subscriptions","organizations_url":"https://api.github.com/users/kfirba/orgs","repos_url":"https://api.github.com/users/kfirba/repos","events_url":"https://api.github.com/users/kfirba/events{/privacy}","received_events_url":"https://api.github.com/users/kfirba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-07T18:36:37Z","updated_at":"2015-10-07T19:26:20Z","closed_at":null,"body":"Hello.\r\n\r\nI really don't know what else I can do at this point. I'm simply trying to use NPM to require some dependencies into my application. Even if I try to require something as simple as `npm install vue` it takes more than 50 minutes and I can see in my `Activity Monitor` that is uses around 3.6GB of RAM and 200% CPU! I'm pretty sure that something is bugged here...\r\n\r\nI tries re-installing node and npm but that didn't help. I've also tried to install my npm dependencies through a vagrant box and I get the same issue..\r\n\r\nMost of the times after watching it goes for more than an hour I get the error:\r\n\r\n```\r\nFATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory\r\n```\r\n\r\nI have 16GB of RAM.\r\n\r\nP.S. It's running on a MAC. OS X Yosemite\r\n\r\nAny idea what's going on here..?"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/146302764","html_url":"https://github.com/npm/npm/issues/9884#issuecomment-146302764","issue_url":"https://api.github.com/repos/npm/npm/issues/9884","id":146302764,"user":{"login":"kfirba","id":8510486,"avatar_url":"https://avatars.githubusercontent.com/u/8510486?v=3","gravatar_id":"","url":"https://api.github.com/users/kfirba","html_url":"https://github.com/kfirba","followers_url":"https://api.github.com/users/kfirba/followers","following_url":"https://api.github.com/users/kfirba/following{/other_user}","gists_url":"https://api.github.com/users/kfirba/gists{/gist_id}","starred_url":"https://api.github.com/users/kfirba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfirba/subscriptions","organizations_url":"https://api.github.com/users/kfirba/orgs","repos_url":"https://api.github.com/users/kfirba/repos","events_url":"https://api.github.com/users/kfirba/events{/privacy}","received_events_url":"https://api.github.com/users/kfirba/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T19:26:20Z","updated_at":"2015-10-07T19:26:20Z","body":"@KenanY I'm actually already trying it, well, somewhat.. I removed my cache and ran `npm install laravel-elixir` and I can see it running. I think that it's getting into somewhat of endless loop with the dependencies? seems like it's getting 304 for any dependency request at this point even tho I've cleared the cache before running the command so I guess it has already cached those dependencies? It started with 350MB RAM consumption and after running for 8 minutes it's already at 2.5GB! I'm not sure if it matters but I've installed node and npm through `homebrew` - `brew install node`\r\n\r\nP.S. as I was typing this post the RAM usage spiked to 3GB already.. maybe if I can somehow completely destroy NPM and NODE from my machine and re-install them in a good way with permissions will fix this?"}}