Bug #1978

CursorWindow "not growing" errors

Added by n8fr8 over 4 years ago. Updated about 4 years ago.

Status:NewStart date:10/02/2013
Priority:LowDue date:
Assignee:devrandom% Done:

0%

Category:-
Target version:Backlog
Component:

Description

this occurs on my gmail account, after i scroll all the way through the whole list. it does not cause the app to crash, but it seems to severly slow it down for awhile.

***
10-01 22:45:28.530: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:28.530: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:28.570: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:28.570: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:28.570: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:28.610: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:28.610: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:28.610: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:28.660: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:28.660: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:28.660: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:28.790: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:28.790: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:28.790: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:28.830: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:28.830: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:28.830: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:28.880: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:28.880: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:28.880: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:28.930: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:28.930: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:28.930: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:28.970: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:28.970: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:28.970: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.090: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.090: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.090: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.210: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.210: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.210: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.280: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.280: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.280: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.330: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.330: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.330: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.380: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.380: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.380: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.501: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.501: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.501: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.541: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.541: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.541: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.591: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.591: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.591: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.631: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.631: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.631: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.721: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.721: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.721: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.791: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.791: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.791: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.831: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.831: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.831: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.881: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.881: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.881: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.921: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.921: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.921: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:29.971: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:29.971: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:29.971: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:30.051: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:30.051: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:30.051: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:30.151: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:30.151: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:30.151: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:30.191: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:30.191: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:30.191: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:30.241: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:30.241: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:30.241: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:30.291: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:30.291: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:30.291: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:30.391: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:30.391: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:30.391: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:30.442: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:30.442: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:30.442: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:30.482: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:30.482: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:30.482: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:52.625: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:52.625: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:52.625: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:52.685: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:52.685: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:52.685: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:52.775: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:52.775: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:52.775: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:52.815: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:52.815: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:52.815: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:52.986: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:52.986: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:52.986: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:53.046: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:53.046: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:53.046: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:53.256: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:53.256: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:53.256: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12
10-01 22:45:53.346: E/CursorWindow(24682): need to grow: mSize = 1048576, size = 46630, freeSpace() = 34991, numRows = 219
10-01 22:45:53.346: E/CursorWindow(24682): not growing since there are already 219 row(s), max size 1048576
10-01 22:45:53.346: E/Cursor(24682): Failed allocating 46630 bytes for text/blob at 218,12

History

#1 Updated by devrandom over 4 years ago

Right, that was the second issue I saw related to cross-process avatars. How bad does it stutter?

I'm wondering why you are seeing this multiple times per second on the same row.

I want to test this with the plain Android cursor object (right now this is coming from the sqlcipher version).

#2 Updated by devrandom over 4 years ago

An improvement we should definitely look at is using CursorLoader. That is the preferred way to bind to a cursor in the UI, since it manages a thread for you.

#3 Updated by n8fr8 over 4 years ago

  • Priority changed from Normal to Low

#4 Updated by n8fr8 over 4 years ago

devrandom wrote:

An improvement we should definitely look at is using CursorLoader. That is the preferred way to bind to a cursor in the UI, since it manages a thread for you.

Definitely want to look at that for v13.

I have just committed code that reduces the size of avatars stored in the db, which should be helpful.

I think for now, things are stable, so we may just want to move this over to v13.

#5 Updated by devrandom over 4 years ago

  • Target version changed from v12 - March Mantra to v13 - October Oooya

Agreed.

#6 Updated by devrandom about 4 years ago

  • Target version changed from v13 - October Oooya to Backlog

Also available in: Atom PDF