<div dir="ltr">Dear all,<div><br></div><div><span style="font-size:12.8px">I am registering a couple of volumes with ITK 4 on windows 7 64 bit.</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I wrote a code based on the affine transformation, with the mean square error metric </span><span style="font-size:12.8px">and the RegularStepGradientDescentOptimizerv4. </span><span style="font-size:12.8px">Unfortunately, the memory usage is pretty high.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I have checked memory consumption with the itkMemoryProbe and, after looking around on previous mailing list messages I have decided to try with a gradient free optimizer like the Nelder-Mead one. </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">So I have rewrote the code using the AmoebaOptimizerV4 and I have continued monitoring the memory consumption via MemoryProbe. Unfortunately, it seems that nothing has changed. Is this working as expected? If this is the case, do you have any suggestion to gave me in order to reduce the memory consumption of the code?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks in advance for the help. </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Best,</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Luigi</span></div></div>