I haven’t tested this yet, but changing line 289 in the current launcher script to the following should work.
$docker_path run $restart_policy "${env[@]}" -h "`hostname`-$config" -m="4g" -e DOCKER_HOST_IP=$docker_ip --name $config -t --cidfile $cidfile $ports \
I’ve added -m="4g" in order to limit the container to 4GB of memory.