2012-08-02 150 views
0

我正在使用listview來存儲更多50個項目到listview它的工作,但插入第20項後,在這樣的日誌貓中顯示的錯誤。ListView內存問題

08-02 12:50:34.646: E/CursorWindow(5245): not growing since there are already 16 row(s), max size 1048576 
08-02 12:50:34.646: E/Cursor(5245): Failed allocating 69485 bytes for text/blob at 24,8 
08-02 12:50:34.695: D/Cursor(5245): finish_program_and_get_row_count row 25 
08-02 12:50:35.365: E/CursorWindow(5245): need to grow: mSize = 1048576, size = 69485, freeSpace() = 9795, numRows = 16 
08-02 12:50:35.365: E/CursorWindow(5245): not growing since there are already 16 row(s), max size 1048576 
08-02 12:50:35.365: E/Cursor(5245): Failed allocating 69485 bytes for text/blob at 23,8 
08-02 12:50:35.396: D/Cursor(5245): finish_program_and_get_row_count row 26 
08-02 12:50:35.896: D/Cursor(5245): skip_rows row 7 
08-02 12:50:35.905: E/CursorWindow(5245): need to grow: mSize = 1048576, size = 69485, 
freeSpace() = 9795, numRows = 16 
08-02 12:50:35.905: E/CursorWindow(5245): not growing since there are already 16 row(s), max size 1048576 
08-02 12:50:35.905: E/Cursor(5245): Failed allocating 69485 bytes for text/blob at 22,8 
08-02 12:50:35.936: D/Cursor(5245): finish_program_and_get_row_count row 27 
08-02 12:50:36.425: D/Cursor(5245): skip_rows row 6 
08-02 12:50:36.436: E/CursorWindow(5245): need to grow: mSize = 1048576, size = 69485, 
freeSpace() = 9795, numRows = 16 

並且該應用程序的加載速度也很慢。幫我。

+0

什麼「項目」是U試圖加載到每一行? – pixelscreen 2012-08-02 07:18:45

+0

只有像日期年份和一些金額 例如:日期:02-01-2012年:2011年金額:2000 $ – 2012-08-02 07:21:06

+0

http://stackoverflow.com/a/1408132/735675看看這是否有幫助 – pixelscreen 2012-08-02 07:23:06

回答