1

I am using listview to display facebook profile picture,name,message,postedpicture.

I used scrollviewListener to load the next page data.But when I scrolled fastly,without waiting to load the data completely I am getting java.lang.OutOfMemoryError.bitmap size exceeds VM budget.

I am getting this error at my ImageLoader class where the bitmap is returned.Did I need to change anything to deallocate memory.

The most important is I am calling another webservice when listview scroll reaches the bottom of screen.

4

1 回答 1

1

您应该查看Android 文档站点的高效显示位图。

他们专门用了几页来解决这个确切的问题:java.lang.OutofMemoryError: bitmap size exceeds VM budget.

于 2012-11-12T13:30:07.357 回答