Maybe you can use native code and use malloc and free?

On Saturday, November 10, 2012 11:58:01 AM UTC-6, elihan wrote:
>
> I have an app with large heap set, running on a galaxy S3 GT-I9300, with 
> android version 4.1.1
> The app needs to allocate a lot of temporary objects intermittently. 
> It runs very slowly because a lot of GC (and waiting for concurrent GC). 
> The heap never grows beyond 25 MB, as I would have expected in order to 
> limit GC activity.
> With a larger heap, I would expect there won't be no perceptible GC. 
> I wonder if there would be other settings to configure garbage collection ?
> Thanks.
>

-- 
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