Android closed app after downloding big files

Hi all ! Could anyone suggest please, if exist way to get Android/Ionic logs to understand why Android closed app when I am downloding big files (200-400 mb) ?

For downloding files I use FileTransfer plugin.

Ionic info:

Ionic:

   Ionic CLI                     : 5.4.16
   Ionic Framework               : @ionic/angular 5.1.1
   @angular-devkit/build-angular : 0.803.10
   @angular-devkit/schematics    : 8.3.10
   @angular/cli                  : 8.3.10
   @ionic/angular-toolkit        : 2.0.0

Cordova:

   Cordova CLI       : 10.0.0
   Cordova Platforms : android 9.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.3, (and 25 other plugins)

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   Android SDK Tools : 26.1.1 (C:\Users\anton\AppData\Local\Android\Sdk)
   NodeJS            : v12.15.0 (C:\Program Files\nodejs\node.exe)
   npm               : 6.13.4
   OS                : Windows 10

Probably because you blew out available RAM.

Try using HttpClient instead. Among other things, you should be more easily able to process the operation in chunks that way, instead of needing to hold the entire hundreds-of-megabytes in RAM at once.

1 Like

rapropos

thanks a lot.