Simple memory management