<div dir="ltr"><div>Plese use the <a href="https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users">mailing list</a> (cc). Can you provide the error message when you execute this code? You'd need to catch and display the exception, e.g., with <a href="https://github.com/RTKConsortium/RTK/blob/master/include/rtkMacro.h#L106">TRY_AND_EXIT_ON_ITK_EXCEPTION</a>:</div><div><span style="font-family:monospace">TRY_AND_EXIT_ON_ITK_EXCEPTION(reconstructionFilter->Update())</span></div><div><br></div><div>There are of course limitations linked to the CPU and GPU memory. Your volume is about 8 GB, I don't know what is the size of your projection images. There are a few solutions to workaround this:</div><div>- only read a few projections at a time by <a href="https://github.com/RTKConsortium/RTK/blob/master/applications/rtkfdk/rtkfdk.cxx#L148">setting the subset size</a>, For it to be efficient, don't read the full stack beforehand as done <a href="https://github.com/RTKConsortium/RTK/blob/master/applications/rtkfdk/rtkfdk.cxx#L65">here</a>.</div><div>- use the StreamingImageFilter to work on <a href="https://github.com/RTKConsortium/RTK/blob/master/applications/rtkfdk/rtkfdk.cxx#L202">parts of the volume at once</a>.</div><div><br></div><div>Simon</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, May 16, 2025 at 8:26 AM 胡继涛 <<a href="mailto:hujitao226@163.com">hujitao226@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="font-family:微软雅黑;font-size:14px;line-height:1.6"><div>
<span>
<br>
</span>
</div><div>
<span>I hope this message finds you well.
</span>
</div><div><span><br></span></div><div><span>I am currently using RTK for reconstruction on a system equipped with an NVIDIA RTX 4090 GPU (24 GB VRAM). When attempting to use the cudaConstantVolumeSource to create a large volume (e.g., 1000×1000×1000), I encounter an error during reconstruction。</span></div><div><span><br></span></div><div><span>Could you kindly advise on what might be causing this issue? Are there any known limitations or considerations regarding volume size in this context?</span></div><div><span><br></span></div><div><span>Thank you very much for your time and assistance.</span></div><div><span><br></span></div><div><span>Best regards,</span></div><div id="m_-8783764166374716453ntes-pcmac-signature" style="font-family:""">
<div style="font-size:14px;padding:0px;margin:0px">
<div style="padding-bottom:6px;margin-bottom:10px;display:inline-block">
<a href="https://dashi.163.com/projects/signature-manager/detail/index.html?ftlId=1&name=%E8%83%A1%E7%BB%A7%E6%B6%9B&uid=hujitao226%40163.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22hujitao226%40163.com%22%5D" style="display:block;background:rgb(255,255,255);max-width:400px;padding:15px 0px 10px;text-decoration:none;outline:none" target="_blank"><table cellpadding="0" style="width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;color:rgb(155,158,161);font-size:14px;line-height:1.3"><tbody style="font-family:"PingFang SC","Hiragino Sans GB","WenQuanYi Micro Hei","Microsoft Yahei","\005fae\008f6f\0096c5\009ed1",verdana;word-break:break-all"><tr><td width="38" style="padding:0px;box-sizing:border-box;width:38px"><img width="38" height="38" style="vertical-align: middle; width: 38px; height: 38px; border-radius: 50%;" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png"></td><td style="padding:0px 0px 0px 10px;color:rgb(49,53,59)"><div style="font-size:16px;font-weight:bold;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis">胡继涛</div></td></tr><tr width="100%" style="font-size:14px;width:100%"><td colspan="2" style="padding:10px 0px 0px;font-size:14px;width:100%"><div style="width:100%;font-size:14px;word-break:break-all">hujitao226@163.com</div></td></tr></tbody></table></a>
</div>
</div>
</div></div>
</div>
</blockquote></div>