Killed on long file read

Restricting memory usage can be bit tricky, especially in a containerized environment, but you can compare the limit vs your current usage by inspecting these two files that describe the current state of the cgroup memory controller (which governs memory for containers):

rstudio-user@application-1051893-deployment-3412526-fbhzf:/cloud/project$ cat /sys/fs/cgroup/memory/memory.limit_in_bytes
1073741824
rstudio-user@application-1051893-deployment-3412526-fbhzf:/cloud/project$ cat /sys/fs/cgroup/memory/memory.usage_in_bytes
86827008