In the configuration options for e.g. an R data function you can limit the size of the input files send to the R-service and this is helpful to protect the infrastructure.
spring.servlet.multipart.max-file-size
spring.servlet.multipart.max-request-size
Along the same lines it would be great to have a setting to limit the file site of the outputs as they can be larger than the inputs (e.g. when interpolating data)