Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What getMemoryClass() actually returns #2824

Open
elijahjing opened this issue Feb 27, 2025 · 0 comments
Open

What getMemoryClass() actually returns #2824

elijahjing opened this issue Feb 27, 2025 · 0 comments

Comments

@elijahjing
Copy link

"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?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant