开发者

Android how to monitor the app consumtion of memory

开发者 https://www.devze.com 2023-03-20 06:03 出处:网络
In my application I show a very long array of a complex object. The array is saved in the sqlite database (each row of the table is an attribute)

In my application I show a very long array of a complex object. The array is saved in the sqlite database (each row of the table is an attribute) I'd like charge the array dinamically because it contains data for the user and depending on user interaction the app will need between 10 and 250 entries. How can I monitor the memory I'm talking with 开发者_C百科different vector size for estimating the best buffer size? thanks


DDMS contains an allocation tracker for Android.

0

精彩评论

暂无评论...
验证码 换一张
取 消