FATAL EXCEPTION: pool-3-thread-1
Process: com.superdata.cxim, PID: 17973
java.lang.OutOfMemoryError
at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:156)
at java.io.BufferedInputStream.read(BufferedInputStream.java:288)
at com.microsoft.azure.storage.core.Utility.writeToOutputStream(Utility.java:1177)
at com.microsoft.azure.storage.core.Utility.writeToOutputStream(Utility.java:1089)
at com.microsoft.azure.storage.blob.BlobOutputStream.write(BlobOutputStream.java:645)
at com.microsoft.azure.storage.blob.CloudBlockBlob.upload(CloudBlockBlob.java:676)
at com.microsoft.azure.storage.blob.CloudBlob.uploadFromFile(CloudBlob.java:1672)
at com.microsoft.azure.storage.blob.CloudBlob.uploadFromFile(CloudBlob.java:1644)
at com.chaoxiang.imrestful.OkHttpUtils$AzureClient$1.run(OkHttpUtils.java:120)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
Test equipment is ximi4.
My simple code(phonegap.rar file size is 3GB):
FATAL EXCEPTION: pool-3-thread-1 Process: com.superdata.cxim, PID: 17973 java.lang.OutOfMemoryError at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:156) at java.io.BufferedInputStream.read(BufferedInputStream.java:288) at com.microsoft.azure.storage.core.Utility.writeToOutputStream(Utility.java:1177) at com.microsoft.azure.storage.core.Utility.writeToOutputStream(Utility.java:1089) at com.microsoft.azure.storage.blob.BlobOutputStream.write(BlobOutputStream.java:645) at com.microsoft.azure.storage.blob.CloudBlockBlob.upload(CloudBlockBlob.java:676) at com.microsoft.azure.storage.blob.CloudBlob.uploadFromFile(CloudBlob.java:1672) at com.microsoft.azure.storage.blob.CloudBlob.uploadFromFile(CloudBlob.java:1644) at com.chaoxiang.imrestful.OkHttpUtils$AzureClient$1.run(OkHttpUtils.java:120) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841)
Test equipment is ximi4. My simple code(phonegap.rar file size is 3GB):