DocumentReader-iOS icon indicating copy to clipboard operation
DocumentReader-iOS copied to clipboard

memory issues on iphone 6

Open doston0000 opened this issue 4 years ago • 1 comments

first photo after db init Screen Shot 2021-04-01 at 12 34 32 PM

then after pressing show scanner Screen Shot 2021-04-01 at 12 35 15 PM

doston0000 avatar Apr 01 '21 07:04 doston0000

Hello,

Yes, it seems that it's due to insufficient memory. As this device has only 1GB of RAM and the app with full SDK and full database consumes approximately 400-500 MB, it may crash as other apps also consume some part of memory. What we can suggest is to use the custom database that will include only those documents of those countries you need. Also, you can use the Core type with the functionality you need. E.g. if you want to get data only from MRZs, it's enough for you to use the MRZ Core type, and the database isn't needed at all.

Could you please describe your use case so that we can suggest the Core type and the database that meet your needs?

vyakimchik avatar Apr 06 '21 11:04 vyakimchik