While you can catch the OutOfMemoryError  this won't really help you
in the long term. You need to rethink your program, and try to use
less memory.

On Mar 10, 9:39 pm, JUNGMI CHO <[email protected]> wrote:
> I have tryied to load the game on the phone.
> Sometimes the devices is crashed during starting the game.
>
> We can see error log - OOM kill process,
> What I understand is that OOM kill only process not device.
> But we can see device crash in this case,
>
> Is it possible to crash the device by OOM?
> And how can we  avoid OOM?
>
> Please advice for me about this problem.
> Thanks.
> -----------------------------------------------------------------------------------------------------------------------------------------------
> [38643.307952] [<c003ecfc>] (show_mem+0xc0/0x174) from [<c0135358>]
> (oom_kill_process.clone.0+0x84/0x230)
> [38643.308135] [<c0135358>] (oom_kill_process.clone.0+0x84/0x230) from
> [<c0135670>] (__out_of_memory+0x16c/0x190)
> [38643.308227] [<c0135670>] (__out_of_memory+0x16c/0x190) from
> [<c0135714>] (out_of_memory+0x80/0xd0)
> [38643.308410] [<c0135714>] (out_of_memory+0x80/0xd0) from
> [<c01388b0>] (__alloc_pages_nodemask+0x454/0x5d0)
> [38643.308624] [<c01388b0>] (__alloc_pages_nodemask+0x454/0x5d0) from
> [<c013a694>] (__do_page_cache_readahead+0x118/0x25c)
> [38643.308807] [<c013a694>] (__do_page_cache_readahead+0x118/0x25c)
> from [<c013a7f8>] (ra_submit+0x20/0x24)
> [38643.308990] [<c013a7f8>] (ra_submit+0x20/0x24) from [<c0132bfc>]
> (filemap_fault+0x1e8/0x420)
> [38643.309173] [<c0132bfc>] (filemap_fault+0x1e8/0x420) from
> [<c0148db4>] (__do_fault+0x50/0x424)
> [38643.309265] [<c0148db4>] (__do_fault+0x50/0x424) from [<c0149c24>]
> (handle_mm_fault+0x318/0xd28)
> [38643.309448] [<c0149c24>] (handle_mm_fault+0x318/0xd28) from
> [<c003e774>] (do_page_fault+0xec/0x1d4)
> [38643.309631] [<c003e774>] (do_page_fault+0xec/0x1d4) from
> [<c003627c>] (do_PrefetchAbort+0x34/0x94)
> [38643.309814] [<c003627c>] (do_PrefetchAbort+0x34/0x94) from
> [<c0036f20>] (ret_from_exception+0x0/0x10)
>
> -----------------------------------------------------------------------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to