Allow ram allocation to be configured via env