I’m happy that it now works for you and will consider handling responses less strict (but I don’t know if and when, because that would change the sync logic again and at the moment, I don’t want to play around with it).
OutOfMemoryError when synchronizing address book
I use the Google Play version of DAVx5 on Android to synchronize my Posteo calendar and contacts (Posteo is a German email service).
Recently the synchronization of my contacts does not work anymore - I only get a error notification (java.lang.OutOfMemoryError).
Full debug info: https://pastebin.com/Mc2NWPJv
Can you help me with this? Thank you in adavnce.
By the way:
My address book is big, but NOT excessively large (~250 entries). An app like DAVx5 should be able to handle this.
Can you please post the (anonymized) contents of the .vcf file here? How large is it?
Oops, I’m sorry. The .vcf file contained a large profile photo - and was like 15 MB in size. I fixed my issue by downscaling the image. Thank you!
Maybe DAVx5 should display a more helpful error message like the following:
Sorry, your vCard XYZ is too large to be synchronized. You can usually solve this issue by downscaling profile pictures.
This would have helped me.
s-light last edited by s-light
i get some similar error:
EXCEPTION: java.lang.OutOfMemoryError: Failed to allocate a 8227872 byte allocation with 2097152 free bytes and 5MB until OOM at...
so i think this means >8MB
Thanks @hokuspokus for the hint with the big profile photos.
(i only have 53 contacts in this addressbook…)
how i found the contacts with big pictures:
in thunderbird CardBook i export my address book as directory.
this generates one
.vcffile per contact -
then i sorted this folder with my file-manager after the size…