About memory consumption that can stop applications

does disabling the layer containing the image reduces memory consumption or does deleting the image reduce memory consumption as well?