<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I am having trouble trying to resize a volume using SubsampleVolume.cxx from the /Examples/Filtering directory. &nbsp;After checking the mail archives, I added&nbsp;<span class="Apple-style-span" style="font-family: Monaco; font-size: 10px; ">filter-&gt;SetReleaseDataFlag( </span><span class="Apple-style-span" style="font-family: Monaco; font-size: 10px; "><span style="color: #aa0d91">true</span></span><span class="Apple-style-span" style="font-family: Monaco; font-size: 10px; "> ); </span>to each of the filters. &nbsp;I then replaced the RecursiveGaussianImageFilter&nbsp;with the GradientMagnitudeImageFilter since it requires less memory. &nbsp;These fixes did not solve my problem. &nbsp;I next commented out one filter at a time and found that I get the memory error when I include the ImageFileReader, CastImageFilter, and GradientMagnitudeImageFilter. &nbsp;</div><div><br></div><div>Could you suggest any further fixes? &nbsp;I am working on a Mac with 2G of memory. &nbsp;The image I'm working with is 402 MB (1024x1024x402).</div></body></html>