Use psm in stead of ps_mem.