You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: After the component was declared in XML and referenced the menu, the memory increased by about 25-35MB! When I deleted the menu declaration, the memory returned to normal. also I checked the size of the menu icon and it is only a few dozen KB.
I also found the same problem with Compose's bottom navigation, why loading a menu consumes so much memory. This wastes a lot of space on some low-configuration machines, and I have been investigating these problems before, after all, it is easy to OOM on low-configuration machines
Description: After the component was declared in XML and referenced the menu, the memory increased by about 25-35MB! When I deleted the menu declaration, the memory returned to normal. also I checked the size of the menu icon and it is only a few dozen KB.
Expected behavior:
Source code:
Minimal sample app repro: https://github.com/crowforkotlin/Issues-BottomNavigationView
Android API version: 34
Material Library version: 1.12.0
Device: Xiaomi、Pixel6 API23
The text was updated successfully, but these errors were encountered: