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

Crash during sync on Andoird #504

Closed
jurgenhaas opened this issue May 9, 2018 · 6 comments
Closed

Crash during sync on Andoird #504

jurgenhaas opened this issue May 9, 2018 · 6 comments

Comments

@jurgenhaas
Copy link

Operating system

Android 8.1.0

Application

Mobile, latest version of Joplin on a Pixel 2

Problem

I'm trying to initially sync with Nextcloud where I do have this set of notes (taken from the Joplin Desktop App):

Folder: 9/9
Resource: 1609/1609
Tag: 35/35
NoteTag: 639/639
MasterKey: 0/0
Insgesamt: 4573/4573

The mobile app starts syncing and does that in chunks of 1000 notes. When it gets to something around 3500 the app crashes and I was able to send a system report.

I've repeated this several times. I even wiped the data and re-installed the app. It's always the same problem.

Not sure if that's caused by the number of notes in general or by a particular note. If the latter, is there a way to identify which one that might be?

@laurent22
Copy link
Owner

Large resources (over 10MB) can cause crashes. This is a bug that will probably be resolved at some point, once the APIs in use get better.

If you have crash report please could you send it over?

@jurgenhaas
Copy link
Author

I've submitted a crash report via Android system. Is there anything else I could get you? If so, where can I find that?

According to the Nextcloud listing, the largest note md file is 124 K and all notes together are 646 M

@jurgenhaas
Copy link
Author

Ah, wait a minute. What I didn't see in the Nextcloud web interface is the hidden ressource folder. That contains objects up to 36 MB for a file. So your theory still stands that it has a problem with bigger files.

@laurent22
Copy link
Owner

Are there many of these? If not, you could simply move those over 10MB to another folder in Nextcloud (also move the associated .md files, which are named "RESOURCE_ID.md"), and sync again.

Once this crash is fixed, you can always put the files back in the Joplin folder on Nextcloud.

@laurent22
Copy link
Owner

Duplicate of #371

@jurgenhaas
Copy link
Author

Amazing, thanks for the workaround. During cleanup I discovered a new issue that I've reported in #509

@laurent22 laurent22 reopened this Oct 5, 2018
@lock lock bot locked and limited conversation to collaborators Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants