Timeline for Can I change Java heap size on Android devices?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 17, 2022 at 8:03 | comment | added | Robert |
@mohsentux Usually the heap size is identical for all apps (unless the app declares largeHeap="true" in it's manifest. If I have an phone that doesn't run smoothly with Android 11 because of memory problems why should allowing every app more memory improve the situation? If RAM was already short with the lower heap size, increasing the heap size can make the RAM shortage only worse (if the app use the extra RAM at all). Increasing the heao size is only useful if you have apps that crash with an OutOfmemoryError (because their heap is too small).
|
|
Jan 17, 2022 at 4:54 | comment | added | user366448 | the app shows the heap size for all android apps not itself. it's just like cpu-z on desktop. look this phone, A20s' hardware was designed for android 9, now it's been upgraded to 11 and can't handle it. it's slow to use. but if we change the heap size to 64 I'm sure it'll be able to function much better. | |
Dec 30, 2021 at 12:05 | history | answered | Robert | CC BY-SA 4.0 |