Is there a limit size for the uploads ?
I upload files from emulator to a server (with PHP code) and for the files < 4Mo all is perfect, but for files > 4Mo I have a out of memory pb... is this normal ?
For info I use this tuto upload_files_to_web_server-t443-s30.html
My error is :
05-09 16:20:53.977: ERROR/dalvikvm-heap(1539): Out of memory on a 4175993-byte allocation.
05-09 16:20:54.045: ERROR/AndroidRuntime(1539): Uncaught handler: thread Thread-9 exiting due to uncaught exception
05-09 16:20:54.055: ERROR/AndroidRuntime(1539): java.lang.OutOfMemoryError
05-09 16:20:54.055: ERROR/AndroidRuntime(1539): at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:138)
Someone can help ?