Hi Jörg, On Fri, May 14, 2021 at 1:40 PM Jörg Riesmeier <deb...@riesmeier.de> wrote: > > > The DCMTK library seems to leaves memory around after the end of the > > process. > > Thank you for the report. I talked to the co-developer who introduced support > for ICU to the DCMTK. He pointed me to the following discussion on ICU: > https://sourceforge.net/p/icu/mailman/icu-support/thread/51379D6E.50601%40gmail.com/#msg30567926
Thanks for the reference ! > It seems that one solution would be to compiled ICU with > --enable-auto-cleanup. That seems to be one solution. I see that people also directly called the cleanup API directly, eg: https://bugzilla.mozilla.org/show_bug.cgi?id=890127 -> https://hg.mozilla.org/mozilla-central/rev/c77439f57dfc