Ability to set maxmemory settings

PROD-28654

Change-Id: I07ab91303516067d89493e94727f0e2cc68cf3c3
(cherry picked from commit 2f59d99a3e995db50de5b022cfd5bae3abada3aa)
5 files changed