memory-stats.js is a small JavaScript utility that displays page memory usage in a style similar to stats.js. It was inspired by mrdoob’s stats.js and originally came from work related to tquery before becoming a standalone repository. The tool helps developers monitor JavaScript memory behavior directly inside a web page during development or debugging. It works by creating a MemoryStats instance, adding its display element to the DOM, and updating it regularly with requestAnimationFrame. For more precise results, Chrome should be launched with the precise memory information flag, because default memory values may be bucketed. The project is useful for performance debugging, visual memory monitoring, and quick inspection of memory behavior in browser-based experiments.

Features

  • JavaScript memory monitoring
  • stats.js-style display panel
  • DOM-based visual output
  • requestAnimationFrame update loop
  • Chrome precise memory support
  • Bookmarklet usage option

Project Samples

Project Activity

See All Activity >