Hi Plamen. Follow up.
According to the Chrome DevTools docs for the profiler:
The height of each bar corresponds to the size of the recently allocated objects, and the color of the bars indicate whether or not those objects are still live in the final heap snapshot. Blue bars indicate objects that are still live at the end of the timeline, Gray bars indicate objects that were allocated during the timeline, but have since been garbage collected...
So what I gather from this is that, if the bars for previous allocations do not turn gray, it means that that memory is not being collected. Here is the updated Dojo sample which illustrates my point: http://dojo.telerik.com/EyuwU/6 . And I also upload the resulting profile from clicking the 'Generate (unattached)' button, which basically allocates random memory that, as you can see, is later properly GC'ed.