I’m using DAVdroid 0.5.4-alpha (the version currently comming with F-Droid) and a sabredav 1.8.6 as server.
When i’m doing a completely new sync of a quite big adressbook (just 82 contacts, but a lot of contacts with embedded pictures, so that the vcards have a size of 100-200kB) I get the following error (just the section that is important, I think):

I don’t have any experience with app developement for android, but as far as I can judge this, there is somewhere to much memory allocated (!!! FAILED BINDER TRANSACTION !!!) which throws this exception.

Obviously it is because all vcards are transferred at once to the local storage, because the problem does not occure, when I add the contacts step by step (~20 contacts) to the carddav-server and always do a sync with davdroid in between.

Maybe this issue is also connected with #134

]]>https://forums.bitfire.at/topic/243/exception-when-syncing-to-much-data-at-onceRSS for NodeSat, 25 May 2019 12:52:51 GMTSun, 05 Jan 2014 11:56:54 GMT60I’m using DAVdroid 0.5.4-alpha (the version currently comming with F-Droid) and a sabredav 1.8.6 as server.
When i’m doing a completely new sync of a quite big adressbook (just 82 contacts, but a lot of contacts with embedded pictures, so that the vcards have a size of 100-200kB) I get the following error (just the section that is important, I think):

I don’t have any experience with app developement for android, but as far as I can judge this, there is somewhere to much memory allocated (!!! FAILED BINDER TRANSACTION !!!) which throws this exception.

Obviously it is because all vcards are transferred at once to the local storage, because the problem does not occure, when I add the contacts step by step (~20 contacts) to the carddav-server and always do a sync with davdroid in between.

Maybe this issue is also connected with #134

]]>https://forums.bitfire.at/post/243https://forums.bitfire.at/post/243Sun, 05 Jan 2014 11:56:54 GMTMaybe I should reduce the limit of contacts/events transferred at once to only 25 instead of 35.
]]>https://forums.bitfire.at/post/2116https://forums.bitfire.at/post/2116Sun, 05 Jan 2014 12:35:56 GMTI think in my case even 25 contacts would be too much (I even got an error with 20 contacts when all contain a picture). Maybe this limit can be set dynamically according to the size of blob that should be transferred?
]]>https://forums.bitfire.at/post/2117https://forums.bitfire.at/post/2117Sun, 05 Jan 2014 12:51:18 GMTOmg that sounds complicated… I hate that I don’t know what the maximum size of such a transaction is (it’s not documented, at least haven’t seen anything). How much RAM do you have?
]]>https://forums.bitfire.at/post/2118https://forums.bitfire.at/post/2118Sun, 05 Jan 2014 13:45:30 GMTIt is a Nexus 5 (2GB), so the RAM should not be the problem.
]]>https://forums.bitfire.at/post/2119https://forums.bitfire.at/post/2119Sun, 05 Jan 2014 13:47:54 GMTOk. Basically I see two options: Reducing the multi-get limit to 20 or 15, or commiting the transaction after every 10 contacts or so.
]]>https://forums.bitfire.at/post/2120https://forums.bitfire.at/post/2120Sun, 05 Jan 2014 13:56:22 GMT

or commiting the transaction after every 10 contacts

Sounds more suitable to me, as this is the real problem (as far as I understand) but you are the one, who knows the code