I would like to know that as well. According to the log, garbage
collector is freeing the byte array on every callback. It's a big
waste of time.

Best,

Bo

On May 26, 10:30 am, Karan Parikh <[email protected]> wrote:
> Hey All,
>       I am developing acameraapplication , where the frame rate is
> important. However,camerauses apreviewcallback function which
> allocates a byte[] array of 230400 bytes, which makes it necessary for
> the garbage collection to step in. Can someone suggest me a way to
> avoid garbage collection stepping in ?
> Thanks in advance.
> Regards,
> Karan.
--~--~---------~--~----~------------~-------~--~----~
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