Re: [android-developers] AIDL aspects for memory usage and speed

2010-12-04 Thread Dianne Hackborn
Binder IPC is not intended for several megabytes of data transport. You should keep a single call well under a megabyte, and hopefully more in the realm of 100K. If you are sending more data than that, you should do it through an fd or shared memory area; it is easy to transport such objects thro

[android-developers] AIDL aspects for memory usage and speed

2010-12-04 Thread Sebastian
Hello, currently I'm using AIDL to send various amounts of data from one process to another. The amount of data does vary between some bytes and up to several megabytes (stream). What is the optimal/maximum size for *one* pass of data through an AIDL call? And which size should be used, keeping m