add setting of swap memory