I have TabHost with 12 tabs and I need to be able to access them all. However, as I press tabs memory usage increases until after 9th opened tab it simply freezes. Is there any way to release memory taken by TabHost if tabs are not visible to user?
You have to read about memory in Android. Maybe TabHost/ViewPager is not a problem.
Read here or here about memory leak detection. Then you will be able to see which thing takes your RAM and not release. Next, You can make audit of your code (optimize, refactoring and debug).