Heuristics for Heterogeneous Memory (H2M)