heldenssjoerd
Member
Hello,
In the app we need to save and upload a large (xml) file. It works as long as the file (created with XMLBuilder) stays within certain limits. However when saving the xml with 10+ large photos (base64) then the error below occurs.
Largeheap is already activated in the manifest.
Any thoughts?
In the app we need to save and upload a large (xml) file. It works as long as the file (created with XMLBuilder) stays within certain limits. However when saving the xml with 10+ large photos (base64) then the error below occurs.
Largeheap is already activated in the manifest.
B4X:
File.WriteString(Map_Wachtrij, sFilename, x.asString) 'x =XMLBuilder and writestring triggers an error below
B4X:
java.lang.OutOfMemoryError: Failed to allocate a 226207176 byte allocation with 25165824 free bytes and 70MB until OOM, max allowed footprint 488170160, growth limit 536870912
Any thoughts?