Hi,

We have an app that is using thrift and I was wondering if you could
help me with an issue.
For any call that we do from the server and our app (running on
Android) though Thrift there is a small percentage, maybe 0.1% that
will fail with the following error:

Caused by: java.lang.OutOfMemoryError: array size too large(Heap
Size=8967KB, Allocated=5734KB, Bitmap Size=891KB)
at 
org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:353)
at 
org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:215)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)

The call is sending a small amount of data, couple KB, so I am not
sure how/why this is happening...
We have also an iPhone app and it seems like it never happens.

If you have nay idea it would be really helpful. Thanks in advance for
your help.

Reply via email to