Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

MultiColumnListView eating alot of memory #10

Open
lordzden opened this issue Oct 24, 2013 · 0 comments
Open

MultiColumnListView eating alot of memory #10

lordzden opened this issue Oct 24, 2013 · 0 comments

Comments

@lordzden
Copy link

The grow heap is accumulating, and eventually the app goes OOM , after 6 or more orientation change. How do I prevent the memory leak? Thanks

 @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState) {
        gView = inflater.inflate(R.layout.ac_image_grid, container, false);

        listView = (MultiColumnListView ) gView.findViewById(R.id.list);

}

From Memory Analyzing Tool of Eclipse:

One instance of "com.huewu.pla.lib.MultiColumnListView" loaded by "dalvik.system.PathClassLoader @ 0x4123d2f8" occupies 4,195,712 (27.91%) bytes. The memory is accumulated in one instance of "android.view.View[]" loaded by "<system class loader>".

Keywords:
dalvik.system.PathClassLoader @ 0x4123d2f8
android.view.View[]
com.huewu.pla.lib.MultiColumnListView
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant