Android Question Google Map v2: java.lang.OutOfMemoryError

Shay

Well-Known Member
Licensed User
While playing with the map (opened map, and moving it), I got the following
I am not using any Bitmap

java.lang.OutOfMemoryError
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:640)
at android.graphics.Bitmap.createBitmap(Bitmap.java:620)
at com.google.maps.api.android.lib6.gmm6.o.c.l.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.o.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.o.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.o.b(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.b.al.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.b.at.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.x.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.l.b(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.cw.k(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.cw.run(Unknown Source)
** Activity (googlemaps2) Pause, UserClosed = true **
java.lang.OutOfMemoryError
at com.google.maps.api.android.lib6.gmm6.n.d.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.l.by.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.m.af.b(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.m.d.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.m.g.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at com.google.maps.api.android.lib6.gmm6.m.d.g(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.m.ae.g(Unknown Source)


at com.google.maps.api.android.lib6.gmm6.n.b.run(Unknown Source)
 

Antonio1

Member
Licensed User
Hello
It 'happened to me .... checks whether you have used in your project an image file type .bmp ... delete or replace it with an equivalent file .jpg ... should solve the problem of out of memory ... and work well with google maps android v2
hello
Antonio
 
Top