add memory resource\