Staging task memory is more tricky, it is calculated in DEA as maximum between app memory and configured value which is 1GB. https://github.com/cloudfoundry/dea_ng/blob/master/lib/dea/staging/staging_task.rb#L107