detect memory and helm config