{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/nodejstools/issues/300","labels_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/300/comments","events_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/300/events","html_url":"https://github.com/Microsoft/nodejstools/issues/300","id":95795776,"number":300,"title":"When fiddling around OOM exception happens","user":{"login":"kant2002","id":4257079,"avatar_url":"https://avatars.githubusercontent.com/u/4257079?v=3","gravatar_id":"","url":"https://api.github.com/users/kant2002","html_url":"https://github.com/kant2002","followers_url":"https://api.github.com/users/kant2002/followers","following_url":"https://api.github.com/users/kant2002/following{/other_user}","gists_url":"https://api.github.com/users/kant2002/gists{/gist_id}","starred_url":"https://api.github.com/users/kant2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kant2002/subscriptions","organizations_url":"https://api.github.com/users/kant2002/orgs","repos_url":"https://api.github.com/users/kant2002/repos","events_url":"https://api.github.com/users/kant2002/events{/privacy}","received_events_url":"https://api.github.com/users/kant2002/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/nodejstools/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Microsoft/nodejstools/labels/need-more-info","name":"need-more-info","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Microsoft/nodejstools/milestones/4","html_url":"https://github.com/Microsoft/nodejstools/milestones/Future","labels_url":"https://api.github.com/repos/Microsoft/nodejstools/milestones/4/labels","id":1060983,"number":4,"title":"Future","description":"","creator":{"login":"AndreSayreMSFT","id":10080679,"avatar_url":"https://avatars.githubusercontent.com/u/10080679?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreSayreMSFT","html_url":"https://github.com/AndreSayreMSFT","followers_url":"https://api.github.com/users/AndreSayreMSFT/followers","following_url":"https://api.github.com/users/AndreSayreMSFT/following{/other_user}","gists_url":"https://api.github.com/users/AndreSayreMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreSayreMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreSayreMSFT/subscriptions","organizations_url":"https://api.github.com/users/AndreSayreMSFT/orgs","repos_url":"https://api.github.com/users/AndreSayreMSFT/repos","events_url":"https://api.github.com/users/AndreSayreMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/AndreSayreMSFT/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":1,"state":"open","created_at":"2015-04-09T21:08:48Z","updated_at":"2015-08-24T15:34:46Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-07-18T06:37:02Z","updated_at":"2015-08-24T15:37:08Z","closed_at":null,"body":"I was working in the my gulp file when this error happens. I work on the dev + debug build.\r\n\r\nMemory usage ~1.8Gb.\r\n\r\n```\r\nFailed to save analysis System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.\r\n   at System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)\r\n   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)\r\n   at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)\r\n   at Microsoft.NodejsTools.Analysis.AnalysisSerializer.ReverseMemoize(Object graph)\r\n   at Microsoft.NodejsTools.Analysis.AnalysisSerializer.ClrSerializer.Serialize(Object value, AnalysisSerializer serializer, Stack`1 stack, BinaryWriter writer)\r\n   at Microsoft.NodejsTools.Analysis.AnalysisSerializer.Serialize(Object graph, BinaryWriter writer)\r\n   at Microsoft.NodejsTools.Analysis.AnalysisSerializer.Serialize(Stream serializationStream, Object graph)\r\n   at Microsoft.NodejsTools.Intellisense.VsProjectAnalyzer.SaveAnalysis()\r\n\r\n   at Microsoft.NodejsTools.Intellisense.VsProjectAnalyzer.SaveAnalysis()\r\n   at Microsoft.NodejsTools.Intellisense.VsProjectAnalyzer.AnalysisQueue.Worker(Object threadStarted)\r\n   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Threading.ThreadHelper.ThreadStart(Object obj)\r\n```\r\n\r\nI create dump file, and will try to find out what take so much memory. Probably related to #44 and #264 \r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/nodejstools/issues/comments/134254527","html_url":"https://github.com/Microsoft/nodejstools/issues/300#issuecomment-134254527","issue_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/300","id":134254527,"user":{"login":"billti","id":993909,"avatar_url":"https://avatars.githubusercontent.com/u/993909?v=3","gravatar_id":"","url":"https://api.github.com/users/billti","html_url":"https://github.com/billti","followers_url":"https://api.github.com/users/billti/followers","following_url":"https://api.github.com/users/billti/following{/other_user}","gists_url":"https://api.github.com/users/billti/gists{/gist_id}","starred_url":"https://api.github.com/users/billti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billti/subscriptions","organizations_url":"https://api.github.com/users/billti/orgs","repos_url":"https://api.github.com/users/billti/repos","events_url":"https://api.github.com/users/billti/events{/privacy}","received_events_url":"https://api.github.com/users/billti/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T15:37:07Z","updated_at":"2015-08-24T15:37:07Z","body":"Yes, the 'Quick intellisense' is what I was referring to. If this is still happening for you on latest bits (and especially if with 'retail' rather than 'debug'), then if you can attach a repro we can investigate I'll take a look. Thanks."}}