Memory leak on official CameraX sample?

This page summarizes the projects mentioned and recommended in the original post on /r/androiddev

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • camera-samples

    Multiple samples showing the best practices in camera APIs on Android.

  • I was using CameraX on our current project and getting some ridiculous crashes at fragments that implements camera preview use case, also noticed that Android studio profiler tool gives memory leak warning for those fragments. So I tried to test it on official sample and I'm experiencing same leak also in this official camerax sample. My test devices are Samsung galaxy a01 and Samsung m11. Am I misinterpreting the situation or is there really a big problem in CameraX API?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts