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

Leonardo Gutierrez leonardomgutierrez at googlemail.com
Wed Feb 15 17:00:33 UTC 2012


Hi there,

Maybe as a suggestion, what dont you parse the xml file and make the
inserts "manually" instread loading it to datatable?. Its not elegant
but should work.

2012/2/15, Jonathan Pryor <jonp at xamarin.com>:
> On Feb 15, 2012, at 10:01 AM, Oscar R Lopez wrote:
>> all the Load it´s on a separate thread but i´m getting killed everytime.
>
> A guess is that you're using too much memory. You might try logging the
> value of System.GC.GetTotalMemory() to see how much you're using; perhaps
> your DB can't all be fit into RAM at once, and the Linux kernel is nuking
> your process from orbit for using too much memory.
>
> If that's the case, the only solution is to use less memory, e.g. have more
> DB inserts so that fewer rows are kept in memory at once.
>
>  - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>

-- 
Gesendet von meinem Mobilgerät

Leonardo Gutierrez


More information about the Monodroid mailing list