Does View.removeAllViews() release memory?

android

Solution

Except if your code has references on the ViewGroup's child views, all ViewGroup's child views should be "garbage collectable".

Problem

I experienced OutOfMemory exception in my code, so I am reviewing the code. I have a question, does View.removeAllViews() release the memory that were used by the child views that were previously added into this the parent view? Thanks.

Original source