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

Jonathan Pryor jonp at xamarin.com
Wed Feb 15 16:50:43 UTC 2012


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



More information about the Monodroid mailing list