Re: [android-developers] Strange out of memory issue on Nexus One

2010-08-05 Thread Alex Xin
Hi, I'm using DDMS to track my app's allocation event and heap memory size. I found that my app only use 2M-4M heap memory, so it's impossible to have out of memory issue. thanks BRs Alex On Thu, Aug 5, 2010 at 2:17 AM, Romain Guy romain...@android.com wrote: The amount of RAM your phone

[android-developers] Strange out of memory issue on Nexus One

2010-08-04 Thread Alex Xin
Hi, All I'm now facing a very strange out of memory issue on Nexus One. I have a user leaves a comment in market said that my app always got force closed on his Nexus One, then I try to contact that user and ask for the logcat. Here's the logcat: E/AndroidRuntime( 4016): FATAL EXCEPTION: main

Re: [android-developers] Strange out of memory issue on Nexus One

2010-08-04 Thread Romain Guy
The amount of RAM your phone has doesn't matter. One a WVGA device, the maximum amount of memory you can use in your app is 24 MB. You are using too much memory (or leaking memory) in yoru app. On Wed, Aug 4, 2010 at 11:14 AM, Alex Xin xinxi...@gmail.com wrote: Hi, All I'm now facing a very