| Summary: | Android app crashes OOM at org.kde.kdeconnect.NetworkPacket.serialize(NetworkPacket.java:246) | ||
|---|---|---|---|
| Product: | [Applications] kdeconnect | Reporter: | Ben Brian <mail-kde> |
| Component: | android-application | Assignee: | Albert Vaca Cintora <albertvaka> |
| Status: | REPORTED --- | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.10 | ||
| Target Milestone: | --- | ||
| Platform: | Android | ||
| OS: | Android 8.x | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Ben Brian
2021-12-07 01:56:30 UTC
144MB for a network packet is not normal, but we can't know which plugin tried to send that just by looking at the stack trace. Is this happening consistently? Maybe it happens when sending contacts? We base64 encode the contacts' profile pictures and send them as a string in a network packet [1], but if you have used some big images as your contacts' pictures they can be a few MB each... multiply that by a few contacts and (it's hard but) it could add to a hundred MB. [1] https://invent.kde.org/network/kdeconnect-android/-/blob/0f4643e5/src/org/kde/kdeconnect/Helpers/ContactsHelper.java#L73-88 In any case, it would be super helpful if we could somehow see in the stacktrace which plugin really caused the crash, which we cannot at the moment. Otherwise we are just speculating. |