We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usedHeap()
const v8 = require("v8"); const scl = require("svcorelib"); function usedHeap() { const heapStat = v8.getHeapStatistics(); const max = heapStat.heap_size_limit; const val = heapStat.used_heap_size; return scl.mapRange(val, 0, max, 0, 100).toFixed(2); }
The text was updated successfully, but these errors were encountered:
Sv443
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: