Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-584] Android: Large database crashes app

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNeeds more info
Resolution Date2012-07-25T13:23:37.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, crash, defect
ReporterBurggraf
AssigneeNeeraj Gupta
Created2011-04-15T02:32:30.000+0000
Updated2012-07-26T20:54:06.000+0000

Description

Android: Large database crashes app

Installing a large database (6MB, in my test case) causes the application to crash. The same application works fine with the exact same database if it contains fewer rows (a 293KB database works fine.)

Steps to reproduce:

  1. Copy large database to Resources folder
  2. In code, install the database
  3. Open a recordset (only need to select a few rows)
  4. Attempting to check rows.isValidRow() causes an immediate crash

Comments

  1. Burggraf 2011-04-15

    It's been noted that if you rename the database file extension to .mp3, the file will install correctly.

  2. Ping Wang 2012-07-25

    Need a test case.

JSON Source