Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Determine physical memory consumption of a node with groovy #4195

Laba42 ·

Can I determine the current memory usage of a QB node with groovy?

So the same value that can be found under "Memory Used" as
under grid/active_nodes/nodename Physical Memory

Georg

  • solved #2
  • replies 1
  • views 25
  • stars 0
robinshen ADMIN ·

You may run below groovy script on that node:

groovy:
def runtime = Runtime.getRuntime()
def usedMemory = runtime.totalMemory() - runtime.freeMemory()
def maxMemory = runtime.maxMemory()