{
"num_full_gc": 17,
"num_inc_gc": 8,
"heap_compactions": 8,
"estimated_base": 2592568,
"current_base": 2592568,
"min": 2499912,
"max": 2592568,
"usage_trend": 0
}
It's from the memwatch nodejs library:
https://github.com/lloyd/node-memwatch#heap-usage
Which one of these represents the memory used by the script? And what do others mean? The github page doesn't really explain it.
Well, four of them represent the amount of memory used by the script. I think "current_base" is most likely the one you want; I believe it's the amount of memory currently being used by the script. I believe "estimated_base" is the estimate of the typical amount of memory the script uses.