we currently have an installation of mongodb3.4 inside Openshift. So, every mongod instance is installed inside a container with limited memory.
When we are trying to run mongodump on a 3GB database from rather small container ( for example, 1 GB ram), we are getting OOM.
As far as I can understand, mongodump cant understand cgroup limits and thinks that it has 64 GB RAM available (its our docker host available ram), so it tries to eat more than it can chew and container is killed
Are there any workarounds for this issue?