You are reading a single comment by @cwilt and its replies. Click here to read the full conversation.
  • No error, it just stops.

    require("http").get("http://forecast.wea­­.80&FcstType=json", function(res) {
      var contents = "";
      res.on('data', function(data) { contents += data; });
      res.on('close', function() { console.log(contents); });

    After it stops I run process.memory() and it returns...
    { "free": 1349, "usage": 51, "total": 1400, "history": 28 }

    Am I reading that correctly and its not used much memory?


Avatar for cwilt @cwilt started