CursorTreeAdapter has a piece of code "SparseArray<MyCursorHelper>
mChildrenCursorHelpers;".When the ExpandableListView has 2000+ groups
the dalvik out of memory.Because the  SparseArray<MyCursorHelper>
cache the childrenCursor until the groups Collapsed or the activity
distroy.You need set a max cache size.When the
SparseArray<MyCursorHelper>'s size equal the size remove a batch size
of childrenCursors and deactivate.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to