NightWhistler/PageTurner — Issue #74: OutOfMemoryError in Library
Author: NightWhistler
Created: 2012-02-09 09:59:55+00:00
State: open

java.lang.OutOfMemoryError: bitmap size exceeds VM budget
at android.graphics.BitmapFactory.nativeDecodeByteArray(Native Method)
at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:494)
at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:507)
at net.nightwhistler.pageturner.activity.LibraryActivity$BookAdapter.getView(LibraryActivity.java:350)
at net.nightwhistler.pageturner.activity.LibraryActivity$BookAdapter.getView(LibraryActivity.java:1)
at net.nightwhistler.pageturner.library.QueryResultAdapter.getView(QueryResultAdapter.java:81)
at android.widget.AbsListView.obtainView(AbsListView.java:1427)
at android.widget.ListView.measureHeightOfChildren(ListView.java:1284)
at android.widget.ListView.onMeasure(ListView.java:1195)
at android.view.View.measure(View.java:8173)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1012)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:381)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:304)
at android.view.View.measure(View.java:8173)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
at android.view.View.measure(View.java:8173)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:526)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:304)
at android.view.View.measure(View.java:8173)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
at android.view.View.measure(View.java:8173)
at android.view.ViewRoot.performTraversals(ViewRoot.java:812)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1752)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)