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

bug: java.lang.OutOfMemoryError on Android #627

Open
louis123562 opened this issue Feb 24, 2025 · 1 comment
Open

bug: java.lang.OutOfMemoryError on Android #627

louis123562 opened this issue Feb 24, 2025 · 1 comment
Labels
bug/fix Something isn't working needs: triage

Comments

@louis123562
Copy link

Plugin version:
6.0.2

Platform(s):
Android

Current behavior:
Some users encounter an unsuccessful app start; the app closes immediately after start.

Expected behavior:
The app should start as expected.

Steps to reproduce:
it is hard to reproduce; i cant by my self.

Related code:

Image

Other information:
The queries we run are simple INSERT and SELECT queries with the maximum of about 1024kb of data.

Capacitor doctor:

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 7.0.1
  @capacitor/core: 7.0.1
  @capacitor/android: 7.0.1
  @capacitor/ios: 7.0.1

Installed Dependencies:

  @capacitor/cli: 6.2.0
  @capacitor/android: 6.2.0
  @capacitor/core: 6.2.0
  @capacitor/ios: 6.2.0

[success] iOS looking great! 👌
[success] Android looking great! 👌
@louis123562 louis123562 added bug/fix Something isn't working needs: triage labels Feb 24, 2025
@louis123562
Copy link
Author

My further investigations show, that this is an alternative behaviour to #603. When my users delete cache and storage in system settings, then reinstall the app, the app works again. We added the flag for backup=false as well; which only helps if the app gets uninstalled.

very interesting behaviour...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/fix Something isn't working needs: triage
Projects
None yet
Development

No branches or pull requests

1 participant