Minimize the memory consumption when uploading images
|Reported by:||jokalli2||Owned by:||jokalli2|
Image upload is very memory consuming because of the image data is sent inside XML as base64 encoded. We should make sure that no extra memory allocations are made and that buffers are preallocated to sensible values, so that too large allocations cannot happen.
Some kind of reproducible test case would be nice. I will ask Peter about that.