Using Profiler.iterableToJSArray to dump the mem. allocation data