Configuring upload streaming

Use the JVM options to override settings related to upload streaming.
Table 1. JVM options for upload streaming
Parameter Description Default value
ecm.content.graphql.multipart.streaming.setaside.maxmemcap The maximum number of bytes to set-aside a content element part in memory. If the maximum size is reached, the part spills over to a file. Set to 5242880 by default which is 5MB.
ecm.content.graphql.multipart.streaming.setaside.maxfilecap The maximum number of bytes to set-aside a content element part in a file. If the maximum is reached an error is generated.

This temp file storage is kept in ephemeral storage on an OpenShift container. When the setting value is increased, it can increase the amount of ephemeral storage used beyond acceptable limits.

Set to 104857600 by default which is 100MB.
ecm.content.graphql.multipart.streaming.usebydefault Whether to use the streaming behavior.

When the setting is true, an individual request can be executed using the non-streaming behavior. Use the HTTP header to turn off the streaming behavior for an individual request:ECM-CS-Use-Multipart-Streaming:false

When the setting is false, an individual request can be executed using the streaming behavior. Use the HTTP header to turn on the streaming behavior for an individual request:ECM-CS-Use-Multipart-Streaming:true

The default value is "true".