Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction too large #366

Open
kirillt opened this issue Jul 26, 2023 · 0 comments
Open

Transaction too large #366

kirillt opened this issue Jul 26, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@kirillt
Copy link
Member

kirillt commented Jul 26, 2023

Solving this might require smart handling of all data, because if a folder has 10,000 files then it's difficult to fit however we try. Probably, we need never store full collection, only what user can see at the moment.

java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 972480 bytes
	at android.app.ActivityClient.activityStopped(ActivityClient.java:87)
	at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:143)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7870)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Caused by: android.os.TransactionTooLargeException: data parcel size 972480 bytes
	at android.os.BinderProxy.transactNative(Native Method)
	at android.os.BinderProxy.transact(BinderProxy.java:571)
	at android.app.IActivityClientController$Stub$Proxy.activityStopped(IActivityClientController.java:1315)
	at android.app.ActivityClient.activityStopped(ActivityClient.java:84)
	... 9 more

See https://developer.android.com/guide/components/activities/parcelables-and-bundles for details.

@kirillt kirillt added the bug Something isn't working label Jul 26, 2023
@kirillt kirillt added the good first issue Good for newcomers label Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant