Singleton that tracks the browser's JS heap memory usage, as a percentage of the heap size limit, when the (non-standard) performance.memory API is available.
performance.memory
Whether the feature is available in browser
Percentage of the memory used, it's updated only if the feature is available in browser
Static
Update the percentageOfUsedMemory and check if the feature is availble
Singleton that tracks the browser's JS heap memory usage, as a percentage of the heap size limit, when the (non-standard)
performance.memoryAPI is available.