Observation: Okapi uses a lot of memory when uploading...
Oleksii Kuzminov wrote on Slack:
Hello all! I have the question about okapi and his redirecting mechanism.
As I understand we call okapi from UI and it's looking module and redirect request with the body to him. But when we upload files okapi try to read buffer and write new request's body for a particular module. And here we get OutOfMemmory. Also, mod-audit-filter in prePostFilter trying to read ANY post request and create JsonObject from request's body without checking ContentType header. I created a bug for mod-audit-filter
MODAFILT-5. But what I should do with Okapi? @dickmeiss @julianladisch
As I understand Okapi handle this request and redirect to mod-data-import which provide this interface but -d marc.mrc this file can be 1GB And okapi die with OutOfMemmory.