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

[Android] Error Code : 2062 (SQLITE_CANTOPEN_EMFILE) #114

Open
2 of 6 tasks
RuddyOne opened this issue May 21, 2019 · 2 comments
Open
2 of 6 tasks

[Android] Error Code : 2062 (SQLITE_CANTOPEN_EMFILE) #114

RuddyOne opened this issue May 21, 2019 · 2 comments

Comments

@RuddyOne
Copy link

RuddyOne commented May 21, 2019

Steps to reproduce

  1. Queue a lot image files (jpg/pngs) (400+)

Expected behavior

It downloads all files added to the queue

Actual behavior

Crash on the following line:

 _downloadManager.Start(file, false);

that throws the following error:

unable to open database file (code 2062)
#################################################################
Error Code : 2062 (SQLITE_CANTOPEN_EMFILE)
Caused By : Application has opened too many files. Maximum of available file descriptors in one process is 1024 in default.
	(unable to open database file (code 2062))
#################################################################

Configuration

Platform:

  • iOS
  • Android
  • UWP
  • Other

Device:

  • Simulator
  • Samsung Galaxy Tab S4

Sometimes this can cause android.process.media to crash.

@RuddyOne RuddyOne reopened this May 21, 2019
@SimonSimCity
Copy link
Owner

Strongly related to #24. Because you only experience it on Android, I'd blame it on the native implementation.

As a solution I propose to start on #34. I won't have time to take it on. Please let me know if you are and I'll provide you with the needed insights to this library to get the implementation straight.

@RuddyOne
Copy link
Author

@SimonSimCity It does appear to be Android crashing on this one.

I may have to start looking into #34. Any info you can give me would be a great help, both iOS and UWP downloader do not have issues within these plugins so I would like to keep it all together if possible.

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

No branches or pull requests

2 participants