support postgres memory configurations