On Jan 10, 3:53 pm, monocasa <trisman...@gmail.com> wrote: > I'm not sure if this is your problem, but you're allocating a really > big chunk of memory on the stack (it makes my embedded code senses > tingle big time). What are the stack size limits for android?
Thread stacks are 1MB. You can look at /proc/maps (or use "showmap") to see the segments. (May require a rooted phone.) I don't know offhand if the main thread is treated differently, but that might explain why it works in one context but not another.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en