Android.os.TransactionTooLargeException - binder buffer

I am using Parcelable classes to pass data between activities. As the documentation suggests , I keep all transactions relatively small (100KB) because the Binder transaction buffer is 1MB. The problem is that if I repeat a small transaction many times, the buffer reaches that size and os throws android.os.TransactionTooLargeException .

I feel like the buffer is not being released between operations. Is there a way to check the size of the binder buffer?

+3


source to share





All Articles