Using Applications To Guide Data Management For Emerging Memory Technologies