Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutOfMemory error #10

Open
ZeeshanLinein opened this issue Jul 27, 2019 · 0 comments
Open

OutOfMemory error #10

ZeeshanLinein opened this issue Jul 27, 2019 · 0 comments

Comments

@ZeeshanLinein
Copy link

mido, Android 7.0

 _java.lang.OutOfMemoryError:_ 

I've developed the application and used your library into it. no doubt your library is awesome. Thanks for this wonderful library. But when I run the application, it gives runtime exception for outofmemory

java.lang.OutOfMemoryError:
at dalvik.system.VMRuntime.newNonMovableArray (Native Method)
at android.graphics.BitmapFactory.nativeDecodeAsset (Native Method)
at android.graphics.BitmapFactory.decodeStream (BitmapFactory.java:624)
at android.graphics.BitmapFactory.decodeResourceStream (BitmapFactory.java:457)
at android.graphics.drawable.Drawable.createFromResourceStream (Drawable.java:1152)
at android.content.res.ResourcesImpl.createFromResourceStream (ResourcesImpl.java:1296)
at android.content.res.ResourcesImpl.loadDrawableForCookie (ResourcesImpl.java:743)
at android.content.res.ResourcesImpl.loadDrawable (ResourcesImpl.java:585)
at android.content.res.MiuiResourcesImpl.loadDrawable (MiuiResourcesImpl.java:317)
at android.content.res.Resources.getDrawable (Resources.java:785)
at android.content.Context.getDrawable (Context.java:534)
at com.shrikanthravi.customnavigationdrawer2.widget.SNavigationDrawer.initMenu (SNavigationDrawer.java:211)
at com.shrikanthravi.customnavigationdrawer2.widget.SNavigationDrawer.setMenuItemList (SNavigationDrawer.java:400)
at com.oskartechnologies.teamlinein.paynprofit.DashboardActivity.initElements (DashboardActivity.java:176)
at com.oskartechnologies.teamlinein.paynprofit.DashboardActivity.onCreate (DashboardActivity.java:75)
at android.app.Activity.performCreate (Activity.java:6845)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2700)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2808)
at android.app.ActivityThread.-wrap12 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1541)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:165)
at android.app.ActivityThread.main (ActivityThread.java:6375)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:802)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant