Prevent Android from killing SQLite CLI when executing a long-running query -
as part of little benchmarking i'm doing app, i'm opening adb shell
, running sqlite command line interface (sqlite3
), , executing long-running query see how performs on device's hardware, installed version of sqlite.
however, sqlite keeps exiting, bringing me adb shell. message that's displayed "killed". since i've seen sqlite study sepecific errors "out of memory" before, assume android killing process, opposed sqlite encountering problem. assuming case, there way prevent scheme doing so?
i hoping if watchdog process killing process beingness non-responsive or taking much cpu time long, stop
might help didn't.
this i'm doing when process gets killed, shortened bit post:
$ adb shell root@android:/ # cd /database/location/ root@android:/database/location # sqlite3 database.db sqlite> .output /dev/null sqlite> .timer on sqlite> select ... ... ...; killed root@android:/database/location #
android sqlite adb
No comments:
Post a Comment