added pmemory.delete()