Found a few links for you: http://developer.android.com/guide/topics/manifest/application-element.html#largeHeap http://developer.android.com/reference/android/app/ActivityManager.html#getMemoryClass() http://developer.android.com/reference/android/app/ActivityManager.html#getLargeMemoryClass()
On Thursday, October 11, 2012 11:58:27 AM UTC+1, navneet Upadhyay wrote: > > I am writing a native library whose memory usage can peak up to 100-120 > MB. Will this be a problem? > > Android documentation ( > http://developer.android.com/reference/android/app/ActivityManager.html#getMemoryClass%28%29) > > says that we can use getmemoryclass() APi to find out approximate > per-application memory class of the current device which is usually 16 MB > but differs from device to device. It also says this is suggested memory > specification so that device performs optimally. Can i allocate say 100 MB > memory in my app. Is there a hard limit? Where can i find detals of such > limits? > -- 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

