Hi,
I'm trying the B4J FTP server (https://www.b4x.com/android/forum/t...d-with-socket-and-asyncstreams.74320/#content) to try and upload a very large file (5 GB). I the process I'm getting an OutOfMemory Exception.
Is there anything I can/need to change ? I would not expect the Asynctreams will need to take the entire file in memory at one moment in time ?
I'm trying the B4J FTP server (https://www.b4x.com/android/forum/t...d-with-socket-and-asyncstreams.74320/#content) to try and upload a very large file (5 GB). I the process I'm getting an OutOfMemory Exception.
Is there anything I can/need to change ? I would not expect the Asynctreams will need to take the entire file in memory at one moment in time ?
B4X:
at anywheresoftware.b4a.BA.setLastException(BA.java:360)
at b4j.example.ftpdataconnection._astream_newdata(ftpdataconnection.java:117)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)