Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Commented Issue: NPM UI Errors out with out-of-memory [1382]

$
0
0
Hi,

VS Version: Ultimate update 3
NTVS: 5-Sep-2014 (Latest dev build)


Downloaded 46MB of the package list
Downloaded 47MB of the package list
Downloaded 48MB of the package list
Download complete
Reading 50892199 bytes from C:\Users\foobar\AppData\Local\Microsoft\Node.js Tools\packagecache.json (08/09/2014 19:52:27)
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at Newtonsoft.Json.Linq.JProperty..ctor(String name)
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader)
at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.ParseResultsFromReader(TextReader reader)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.<>c__DisplayClass1a.<ExecuteAsync>b__16()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.<ExecuteAsync>d__1c.MoveNext()
Deleting C:\Users\foobar\AppData\Local\Microsoft\Node.js Tools\packagecache.json
Downloading package cache to C:\Users\foobar\AppData\Local\Microsoft\Node.js Tools\packagecache.json
Path to npm: C:\Program Files (x86)\nodejs\npm.cmd



Downloaded 46MB of the package list
Downloaded 47MB of the package list
Downloaded 48MB of the package list
Download complete
Reading 50892198 bytes from C:\Users\foobar\AppData\Local\Microsoft\Node.js Tools\packagecache.json (08/09/2014 19:54:46)
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.String.CtorCharArrayStartLength(Char[] value, Int32 startIndex, Int32 length)
at Newtonsoft.Json.JsonTextReader.ParseString(Char quote)
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.ReadInternal()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader)
at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.ParseResultsFromReader(TextReader reader)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.<>c__DisplayClass1a.<ExecuteAsync>b__16()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.<ExecuteAsync>d__1c.MoveNext()
Deleting C:\Users\foobar\AppData\Local\Microsoft\Node.js Tools\packagecache.json
Microsoft.NodejsTools.Npm.NpmCatalogEmptyException: Unable to retrieve npm catalog: the web service may be unavailable.
Comments: @mousetraps, It's a 64 bit system. Windows 8.1 6GB Ram. I'm not able to provide more information around this as I have been using the command line to manage the npm packages. The npm UI will be useful once it is more stable.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>