jhansireddy / AndroidScannerDemo

ScanLibrary is an android document scanning library built on top of OpenCV, using the app you will be able to select the exact edges and crop the document accordingly from the selected 4 edges and change the perspective transformation of the cropped image.
MIT License
1.07k stars 472 forks source link

Native Memory Leak Bug #136

Closed maxakash closed 3 years ago

maxakash commented 4 years ago

As soon as ScanActivity is opened, native memory consumption keeps increasing until the app crashes.

I could not find the reason for memory leak.

Steps to reproduce

  1. Take a pic with camera or pick an image.
  2. Stay on Scan Fragment or Result Fragment.
  3. Open Profiler to see increase in native memory consumption

Any help would be appreciated.