[mono-android] Heavy load Thread without being killed?

Oscar R Lopez ironarthur at hotmail.com
Tue Feb 14 08:12:05 UTC 2012


Hi,

I´m trying to recreate my database from some xml i download. i´ve 20-25
xml's, 20-25 tables on database, 4 of them have more than 2000 rows. i´m
using SQLite-net orm. At this time i´ve two options:

a) xml to datatable, and each row of datatable i insert it. SLOW, ultra
slow.
b) xml to datatable, datatable to enum and InsertAll. with big datatables i
get killed by system converting datable to enum.

Any thoughts? maybe some trick to not being killed? reading xml with another
reader?

My last choice is to recreate database on server, download to device and
move information between databases. I don´t like this option because i´ve to
change the server and that´s "inconvenient".

Bye and thanks,

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Heavy-load-Thread-without-being-killed-tp5481800p5481800.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list