-1

Hi I've created a game pretty much ready to ship except for one issue. Once the user plays for a certain amount of time the app becomes extremely sluggish. I assume this is because of memory usage but am unsure. Do you guys think memory is the case?

Second question is how do I tell if I am still referencing a bitmap. I tried my best to call recycle for all my bitmaps but am unsure if I missed any. How do I figure out if they are still using memory?

MikeC
  • 715
  • 8
  • 19
  • Analyze your code again and again it will help, `Log` details through out and verify – Raghav Jul 14 '12 at 16:53
  • 1
    This answer might help you: http://stackoverflow.com/questions/3112671/android-memory-analysing-eclipse-memory-analyzer (Are you using eclipse?) –  Jul 14 '12 at 16:58

1 Answers1

1

Check this video Google I/O 2011: Memory management for Android Apps if you haven't yet. Very useful.

biegleux
  • 13,114
  • 11
  • 44
  • 52