android.os.TransactionTooLargeException: data parcel size x bytes
Too much data was put into a Bundle/Intent/saved state, exceeding the ~1 MB Binder transaction buffer.
data parcel size!!! FAILED BINDER TRANSACTION !!! Meaning
Large lists or bitmaps in Intent extras, Fragment arguments or onSaveInstanceState crash, often only when the app goes to background (“data parcel size … bytes”).
Common causes
- Bitmaps or large lists in Intent extras/Bundles
- Large data in onSaveInstanceState / SavedStateHandle
- FragmentStatePagerAdapter saving many fragments
⚡ Quick fix
- Pass IDs, not data; load data from a repository
- Keep saved state small
- Use a file/DB/ViewModel for large data
Detailed fix by platform
Kotlin
startActivity(Intent(this, DetailActivity::class.java).putExtra("itemId", item.id)) // not the whole object list
How to diagnose
- Size — Bundle contents (TooLargeTool library)
- Timing — On background/rotation?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Android
- Could not resolve Gradle: Could not resolve all files for configuration / Could not resolve dependency
- Unsupported class file major version Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run
- INSTALL_PARSE_FAILED_NO_CERTIFICATES INSTALL_PARSE_FAILED_NO_CERTIFICATES / App not installed as package appears to be invalid
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 13 Oct 2026