-
Notifications
You must be signed in to change notification settings - Fork 175
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
Out of memory #8
Comments
I have the same problem |
not resolve yet |
@cheetahdeliverys instead of this i use another animation if you want i can share the code its work fine in every mobile i tested that |
@shubhank12 can you bring example to use this library? |
@cheetahdeliverys I would appreciate if you can share the code. |
@cheetahdeliverys @amanjain08 here is java class i use https://gist.github.com/shubhank12/1e1d3db0cdd1f6ed61b47b58260c3b7d |
@cheetahdeliverys Thank you for quick response. But how are you using that view to show ripple effect on map marker |
private MapRadar mapRadar; ///////////////////////////////////////////////////////////////////////////////// Note: i don't know for what reason you need that animation. but i use that by default marker is place in center of the map. i place map inside the relativelayout and i also place raderView at the center of the RelativeLayout. ////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////// @amanjain08 if you specify the reason of anim maybe i help more |
@shubhank12 You haven't using ripple view on marker on map. I want ripple view on marker that could be anywhere on map. You have fixed your view on center of screen. For my case there could be a multiple marker on map so I want the ripple view for all that markers. |
@amanjain08 ya thats true i use different animation which differ from your requirement |
Also getting OutOfMemory for MapRadar. @aarsy did you checked it? |
I was managed to fix the issue. I downloaded sources of GoogleMapsAnimations to my project and updated play services version in gradle. Tested on API 19, 24, 25 |
@Ok-Alex what exactly did you do? I cant solve the problem |
If you have any modified version of the code which resolves this issue then please issue a pull request and we'll merge. |
Same Fatal issue on some devices, error occurence varies from device to device. Please update the new version with resolved issue. |
have you guys found a fix for this? |
This error is thrown by the Java Virtual Machine (JVM) when an object cannot be allocated due to lack of memory space and also, the garbage collector cannot free some space. Add these two lines in your manifest files inside Application Tag: Something like this, It had solved the problem: |
Just using one radar |
same problem on Android 7.1.1 |
I have the same problem with Android 6.0 |
Same here! with Nougat |
Same problem. This Ripple Animation was unable to be used in android any more ? |
same here |
Even I am facing the same issue |
Hello Guys, I would be very thankful to you guys if someone create patch for this issue and raise a PR. |
@aarsy Looking into it. I'll see what I can do. |
Hi guys, I got same error:
Android 6.0 |
Its work perfect in 6.0.1 but error in some device mostly in lollipop
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.coincide.ridetog, PID: 12679
java.lang.OutOfMemoryError: Failed to allocate a 81000012 byte allocation with 16775712 free bytes and 60MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreateFromParcel(Native Method)
at android.graphics.Bitmap.access$000(Bitmap.java:32)
at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:1484)
at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:1476)
at com.google.android.gms.maps.model.internal.b.onTransact(:com.google.android.gms.DynamiteModulesB:101)
at android.os.Binder.transact(Binder.java:380)
at uyr.a(:com.google.android.gms:242)
at uqu.a(:com.google.android.gms:1252)
at uqw.a(:com.google.android.gms:187)
at uqo.a(:com.google.android.gms:6164)
at uyq.onTransact(:com.google.android.gms:106)
at android.os.Binder.transact(Binder.java:380)
at com.google.android.gms.maps.model.internal.zza$zza$zza.zze(Unknown Source)
at com.google.android.gms.maps.model.BitmapDescriptorFactory.fromBitmap(Unknown Source)
at com.arsy.maps_library.MapRipple$1.run(MapRipple.java:133)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5247)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:707)
The text was updated successfully, but these errors were encountered: