If you write an app that generates a lot of string objects, and look at the memory inspector panel in DevTools, you will not see the allocated objects unless they are a widget (I think). I created 10000 String objects, and put them into a String array. In the memory panel, is see the allocated memory rise, and when I clear the collection and run GC from the memory panel, I see the memory properly reclaimed. However, in the list of objects, there is no array of strings or strings listed.
If you write an app that generates a lot of string objects, and look at the memory inspector panel in DevTools, you will not see the allocated objects unless they are a widget (I think). I created 10000 String objects, and put them into a String array. In the memory panel, is see the allocated memory rise, and when I clear the collection and run GC from the memory panel, I see the memory properly reclaimed. However, in the list of objects, there is no array of strings or strings listed.