memory allocation bug on password changing is indeed cgroups related. For PBS with memory cgroups enabled LRMS_EXTRA_MEMORY should be defined and contains enough value.