# HG changeset patch # User Alain Mazy # Date 1771864405 -3600 # Node ID c00a24b2cada6e2ab1e277a7c0e871e7b0603858 # Parent 6a8368c85b1a10206481fe5b078d648a25b42467 todo diff -r 6a8368c85b1a -r c00a24b2cada TODO --- a/TODO Mon Feb 23 16:40:06 2026 +0100 +++ b/TODO Mon Feb 23 17:33:25 2026 +0100 @@ -290,6 +290,8 @@ Would be interesting to log these errors and count them in the prometheus metrics. Note: I'm (maybe naively) thinking that you only need the beginning of the file to get the DICOM tags to be stored in the database, so maybe the rest of the file could be "streamed" directly to disk and not kept in memory? + Refs: + - https://discourse.orthanc-server.org/t/high-memory-consumption-during-ingestion-of-large-1-5-gb-multi-frame-instances/6408 * To investigate: usage of mapped_file (not only in the indexer plugin): https://discourse.orthanc-server.org/t/patch-for-orthanc-indexer-plugin-crashing-on-big-non-dicom-files/3849/7