[android-developers] 回覆:Re: Strangely !! The RAM usage of my APK over 20MB

2011-05-05 Thread Leon Worker
Hi, Sir:
Here are some possible-point for you reference.

  The Service inside My APK will do CRUD thru SqlLite. And One of Activity 
will do opening/reading content from Assets directory. And i'll use some 
Singleton Class to keep some global properties. 

  About images, i only use some icons of 48x48 pixel for Activities. Hope 
these information is enough for you to give some suggestion. Many Thanks.

Leon.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] 回覆:Re: Strangely !! The RAM usage of my APK over 20MB

2011-05-05 Thread Leon Worker
Hi, Sir:
OK, i will open the Log function in my APK and then use DDMS to check 
message when the RAM Usage over 20MB again. Many Thanks.

Leon.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] 回覆:Re: Strangely !! The RAM usage of my APK over 20MB

2011-05-05 Thread Leon Worker
Hi, Sir:
OK, i will open the Log function in my APK and then use DDMS to check 
message when the RAM Usage over 20MB again. Many Thanks.

Leon.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

回覆:Re: [android-developers] Re: Strangely !! The RAM usage of my APK over 20MB

2011-05-05 Thread Leon Worker
Hi, Sir:
   Thanks for your notice. I'll try to use MAT to find out the cause. 
Leon.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Strangely !! The RAM usage of my APK over 20MB

2011-05-04 Thread Leon Worker
Dear Senior Developers :
   I'm a junior Android developer. And i can't understand where the
problem is. As my Message Title said, i can't convince my Project
Manager the RAM usage is so high sometimes.

Here is my Steps and Situation for your reference.

Situation : My APK have 4 Activities and 1 Service. And I will check
my APK status through the function of Setting.

Step 1 : From Setting -- Application -- Running Service.
Step 2 : Find my APK Name, and you can see the RAM Usage and Service
running-time. Normally, my APK will cause about 3 to 5 MB RAM. But i
find the RAM Usage will become to 20MB sometimes.

So i don't know how to tune my APK or how to avoid the Memory Leak
issue. Please kindly to give me any suggestions. Many Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en