You are reading a single comment by @Ollie and its replies. Click here to read the full conversation.
  • @Gordon The log was getting bigger yes, and I was using E.openFile for the image, but was using readFile for reading the log back into the page since I had issues trying to continue res.write output (to close the page html) after I'd piped the openFile output. Is this possible? If I did it again I'd pipe the logs and include them in the main page via iframe - I imagine that would work fine?

    @DrAzzy I can't see that process.memory() in the Reference section. Do you include that in a setInterval function and log to console to monitor over time? How do I interpret the returned info?

  • You could do it in setInterval, or just do it manually.

    The relevant data in the object that process.memory() returns are the properties "usage" "free" and "total". The memory is measured in jsvars.

About

Avatar for Ollie @Ollie started