Fixed MEM & CPU handling for host templates