As told to Mark, I do not think so: the game is just starting, loading
the first Screen at all.
Really? Data suggest quite the contrary: your heap is heavily fragmented,
your process have allocated 48MB and released a lot (since there is 15MB),
that's suggest lots of memory operations.
A good way to cut bitmap memory usage in half is to load them with
BitmapFactory.Options.inPreferredConfig = Bitmap.Config.RGB_565.
Eg 16 bits vs 32 bits.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
You cannot use it all if you have images with alpha transparency, that's
the case of many images in most games, and so its in my game. Actually I
already use RGB_565 where I can.
Best regards,
On 11/23/2012 10:46 AM, b0b wrote:
A good way to cut bitmap memory usage in half is to load them
On 11/23/2012 10:30 AM, a1 wrote:
As told to Mark, I do not think so: the game is just starting,
loading the first Screen at all.
Really?
Well, that's what I can see on that stack trace.
Data suggest quite the contrary:
I think that data may suggest a wide number of different
W dniu piątek, 23 listopada 2012 12:31:22 UTC+1 użytkownik Fran napisał:
On 11/23/2012 10:30 AM, a1 wrote:
As told to Mark, I do not think so: the game is just starting, loading
the first Screen at all.
Really?
Well, that's what I can see on that stack trace.
But you don't
On 11/23/2012 01:19 PM, a1 wrote:
W dniu piątek, 23 listopada 2012 12:31:22 UTC+1 użytkownik Fran napisał:
On 11/23/2012 10:30 AM, a1 wrote:
As told to Mark, I do not think so: the game is just
starting, loading the first Screen at all.
Really?
Well, that's
Did you check with MAT? Also you may try to verify this theory by
forcing process termination with System.exit.
I've doing that since half hundred of versions ago, more or less, so I am
pretty sure about it.
No you don't only you only kill on explicte exit (probably in
Maybe your heap is heavily fragmented and there is not 1.5megs of
contiguous space?
On Wednesday, November 21, 2012 8:50:41 AM UTC-6, Fran wrote:
Look at this:
0java.lang.OutOfMemoryError: (Heap Size=48547KB, Allocated=33541KB) 1at
As told to Mark, I do not think so: the game is just starting, loading
the first Screen at all. Also I have never experienced such problems on
my own devices or emulators, and I have spent many time watching DDMS...
of course it cannot be discarded at 100%, though.
Regards,
On 11/21/2012
9 matches
Mail list logo