# \#memory-managment

**URL:** https://discourse.itk.org/tag/memory-managment/91.md

[Latest](https://discourse.itk.org/latest.md) · [Categories](https://discourse.itk.org/categories.md) · [Tags](https://discourse.itk.org/tags.md)

---

## [How to pass output memory to a filter (avoid a copy to external memory)?](https://discourse.itk.org/t/how-to-pass-output-memory-to-a-filter-avoid-a-copy-to-external-memory/4501)

<div class="topic-metadata">

**Author:** [@emmenlau](https://discourse.itk.org/u/emmenlau)\
**Replies:** 10\
**Last updated:** [October 26, 2021, 7:07pm UTC](https://discourse.itk.org/t/how-to-pass-output-memory-to-a-filter-avoid-a-copy-to-external-memory/4501 "2021-10-26T19:07:10Z")

</div>

We use ITK together with a lot of older code that has its own memory management. It was quite easy to wrap our memory containers into an itk::Image using itk::ImportImageFilter. It was also very straightforward to apply …

---

## [GPU filter (anisotropic diffusion) pipeline - memory allocation issue (itk-4.7.0)](https://discourse.itk.org/t/gpu-filter-anisotropic-diffusion-pipeline-memory-allocation-issue-itk-4-7-0/3439)

<div class="topic-metadata">

**Author:** [@phil](https://discourse.itk.org/u/phil)\
**Replies:** 1\
**Last updated:** [September 7, 2020, 1:53pm UTC](https://discourse.itk.org/t/gpu-filter-anisotropic-diffusion-pipeline-memory-allocation-issue-itk-4-7-0/3439 "2020-09-07T13:53:08Z")

</div>

Dear all, I’m using not the newest version of ITK (4.7.0) because I’ve some older code framework where an upgrade to a more recent ITK version is only planned beginning of next year. Still, I hope you can help me with …

---

## [Is it safe to store itk::Image inside itk::DataObject](https://discourse.itk.org/t/is-it-safe-to-store-itk-image-inside-itk-dataobject/1546)

<div class="topic-metadata">

**Author:** [@Athius](https://discourse.itk.org/u/Athius)\
**Replies:** 2\
**Last updated:** [January 25, 2019, 2:18pm UTC](https://discourse.itk.org/t/is-it-safe-to-store-itk-image-inside-itk-dataobject/1546 "2019-01-25T14:18:48Z")

</div>

Hello everyone, I have some question regarding the memory management. I want to separate my application in multiple modules and manage all itk::Image PixelType available. To store an itk::Image inside a itk::DataObjec…
