given dataflow counters, it can generate the heap dump