Questions tagged [transactiontoolargeexception]

The Android exception thrown when the Binder transaction buffer is overflown, i.e. exceeds 1Mb. The tag MUST BE USED ONLY with the Android tag.

The thrown when the transaction buffer is overflown, i.e. exceeds 1Mb.

The tag MUST BE USED ONLY with the tag.

Official Documentation

TransactionTooLargeException

27 questions
12
votes
1 answer

android:support:fragments saved by Activity is getting larger and causing TransactionTooLargeException

I have an Activity which controls several Fragments. The default Fragment is HomepageFragment. When replacing to a different Fragment i always make sure the stack stays flat - meaning only the HomepageFragment stays in the stack and on top of it the…
7
votes
1 answer

android.os.TransactionTooLargeException: data parcel size NOUGAT ERROR

I am making an api call using RETROFIT, I got the JSON response from the server which is hardly 30kb in size. While the JSON parses the response into a complex Object, it is throwing this error. java.lang.RuntimeException:…
7
votes
0 answers

React native android TransactionTooLargeException

We recently released a ReactNative application, but we're receiving many crash reports on android with java.lang.RuntimeExceptionBinder.java android.os.TransactionTooLargeException: data parcel size X(between 400k to 750k) bytes. On our app we have…
Guilherme
  • 503
  • 4
  • 15
6
votes
2 answers

Android IPC maximum transaction size?

I'm making small Android applications which communicate with each other using Binder. As I know, Android Binder has a maximum transaction size (1MB). For example, TransactionTooLargeException is thrown when applications try to send bigger than 1MB…
5
votes
0 answers

Caused by android.os.TransactionTooLargeException: data parcel size 5971992 bytes is there any tool to debug this error

I am working on the production app. I am receiving the exception in Crashlytics. I don't have a clue where is happening because it is not pointing any activity. Just I am getting an error like this. Caused by android.os.TransactionTooLargeException:…
Ramesh sambu
  • 3,577
  • 2
  • 24
  • 39
5
votes
0 answers

TransactionTooLargeException with FragmentStatePagerAdapter

I wrote a reader app using ViewPager with offscreenPageLimit default to 1 and FragmentStatePagerAdapter, in which I have override fun getItem(position: Int) = ComicFragment.newInstance(index = position + 1) Here a ComicFragment is created with an…
4
votes
1 answer

Android ViewPager2 library throwing Transactiontoolarge exception onpause event

I am getting TransactionTooLarge exception if page size = 50 and I press the home button. I checked the FragmentStateAdapter and found that 'saveState()' method is finalized. Please help me how to resolve this. In ViewPager it was overriden by me…
3
votes
1 answer

TransactionTooLargeException when onSaveInstanceState called

It Seems happened when onSaveInstanceState called. Both Android 8.1 and 9.0 deveices have this problem. How to solves this? Thanks a lot! 13404-10 02:49:44.606 16580 16580 E JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size =…
3
votes
1 answer

Android TransactionTooLargeException no idea what is causing it

I have no idea what and where is causing this exception on one of my Fragment Screens. I have tried to debug it with this TooLargeTool and I have such outputs: 2-19 18:20:24.317 25554 25554 D TooLargeTool: * android:support:fragments = 23.9…
Michał Ziobro
  • 10,759
  • 11
  • 88
  • 143
3
votes
0 answers

Android: TransactionTooLargeException but bundle size is just 368

Finally, I was able to replicate TransactionTooLargeException in my app I use FragmentStatePagerAdapter to show few fragments, Each fragment hosts a RecycleView and on click of each Item another fragment is being added. On pressing Home button in…
2
votes
0 answers

TransactionTooLargeException when calling updateAppWidget in RemoteViews (on android 7.0 & 6.0 only)

I have lot of TransactionTooLargeException crash reports in console (interesting is - almost exclusively from older android versions 7.0 & 6.0 - pretty much none from newer androids). It happens always on this line of code in my…
2
votes
0 answers

android.os.TransactionTooLargeException: data parcel size 3354884 bytes

List data = fill_with_data(); public List fill_with_data() { List data = new ArrayList<>(); for (int i = 0; i < Glob.frames.length; i++) { data.add(new Data(Glob.frames[i])); } return…
Anil
  • 43
  • 9
1
vote
0 answers

onSavedInstanceState TransactionTooLargeException (only on lock screen or start activity not on rotate screen)

I'm facing an issue on the Activity Lifecycle when onSavedInstanceState is Called. Let me explain : I have 4 Fragments on ViewPager hosting RecyclerViews. These RecyclerViews display data from HashMap(). The HashMap can be large,…
1
vote
0 answers

Webview Activity crash due to TransactionTooLarge error

I using webview to render a form. Application get crash after onPageStarted method and in LogCat I am finding below error. java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 603696 bytes at…
1
vote
0 answers

Android TransactionTooLargeException after many hours test

I faced an issue on Samsung's devices. After many hours of stress test, two widgets display abnormally and an ANR happened about this two widgets (cmaweather and storyalbumwidget). Here is the trace: 02-11 08:38:00.219 W/ActivityManager( 728):…
1
2