Status Update
Comments
rk...@google.com <rk...@google.com>
bo...@google.com <bo...@google.com> #2
jp...@google.com <jp...@google.com> #3
The different logics in main-common.c was indeed added to overrule some unrealistic low value of memory. Most of the time because they were lower than the CDD of a given API. There wouldn't be a check in the GUI of Android Studio.
But regarding the lower limit of TV for API31 (Android 12), as Bo said in #2, we can question if we should exempt TV from the memory override ( @sn...@google.com, what do you think)
Looking at the CDD for Android 12 (
there is a subsection saying
[7.6.1/H-8-1] The memory available to the kernel and userspace MUST be at least 1824MB if the default display uses framebuffer resolutions up to QHD (e.g. QWXGA).
So 1GB might be low, but what should be the lower limit in this case?
sn...@google.com <sn...@google.com> #4
For Android TV devices, the lower limit is 1 GB. For Google TV devices, the lower limit is 2 GB.
Memory overrides can be exempted accordingly.
jp...@google.com <jp...@google.com> #5
Change will be in Emulator 35.3.6, scheduled to be released in about 2 weeks. 1024 MB will be allowed for AndroidTV. And 2048 MB for GoogleTV
Description
DESCRIBE THE ISSUE IN DETAIL:
STEPS TO REPRODUCE:
Expected: The emulated device has 1024 MB of RAM
Actual: The emulated device has 2048 MB of RAM
The issue is simple - emulator increases the RAM to whatever is required, but the GUI does not check for it so it allows you to set whatever value.
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac) The related output is INFO Increasing RAM size to 2048 MB
IMPORTANT: Please readhttps://developer.android.com/studio/report-bugs.html carefully and supply
all required information.
Studio Build: all Version of Gradle Plugin: n/a Version of Gradle: n/a Version of Java: n/a OS: MacOS Sonoma n/a