code: public static void memInfo(final Map<String, Object> infos) {
          infos.put("heap.used", MEM_BEAN.getHeapMemoryUsage());
          infos.put("offHeap.used", MEM_BEAN.getNonHeapMemoryUsage());
          infos.put("heap.pendingFinalize", MEM_BEAN.getObjectPendingFinalizationCount());
      }
docs: Collects system information as delivered from the {@link MemoryMXBean}.
  
  @param infos a map where the infos are passed in.