Skip to content

What getMemoryClass() actually returns #2824

@elijahjing

Description

@elijahjing

"DefaultBitmapMemoryCacheParamsSupplier. mActivityManager.getMemoryClass() is retrieving the JVM heap size. Since on Android 8.0 and above the bitmap data is stored in native memory, wouldn’t it be better to calculate based on the process’s available memory instead?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions