<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. After checking the mail archives, I added <span class="Apple-style-span" style="font-family: Monaco; font-size: 10px; ">filter->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. I then replaced the RecursiveGaussianImageFilter with the GradientMagnitudeImageFilter since it requires less memory. These fixes did not solve my problem. 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. </div><div><br></div><div>Could you suggest any further fixes? I am working on a Mac with 2G of memory. The image I'm working with is 402 MB (1024x1024x402).</div></body></html>