Added service to swap memory automatically