Very large SOAP response – Android- out of memory error
Just an update, I found that the “call” method in AndroidHttpTransport was running out of memory at this line – if (debug) { ByteArrayOutputStream bos = new ByteArrayOutputStream(); byte[] buf = new byte[256]; while (true) { int rd = is.read(buf, 0, 256); if (rd == -1) break; bos.write(buf, 0, rd); } bos.flush(); buf = bos.toByteArray(); … Read more