Is it possible to specify a minimum heap size requirement?
Is it possible (maybe within the app's manifest file or within the Google Play listing) to specify the minimum VM heap size that is required for a device to run an app?
I have set android:largeHeap="true"
in the <application>
tag of my manifest, but I would like it for my app to be unavailable to devices that can't provide a heap size of at least 64MB.
The prompt for this question is that we got a bad review from a user (due to OOM) with a 32MB heap and (until we can hopefully get our app's heap usage down below that level) that we would like to limit our app to devices with 64MB+ heaps.
I presume this approach would be OK as, similarly, our app is already unavailable to devices that are below API 14.
NB - I have looked in the docs for the manifest's application tag and the only mention of heap is the aforementioned largeHeap attribute.
链接地址: http://www.djcxy.com/p/60624.html上一篇: 核心数据,NSPredicate和
下一篇: 是否可以指定最小堆大小要求?