moving memory management into admin