On Jan 10, 3:53 pm, monocasa <[email protected]> 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 [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

