Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Possible Memory Leaks during importing

161 views
Skip to first unread message

Jacopo De Luca

unread,
Feb 26, 2021, 11:04:10 AM2/26/21
to Orthanc Users
Hello everyone!

I'm importing a large amounts of DICOM images (500GB) into dedicated Testing Orthanc server with Postgres indexing.
I'm using python script found in your documentation.

Orthanc is contaneraized with Docker (osimis/orthanc:20.9.5 image).

What I'm noting is that used RAM is increasing, so this is a problem especially for large ingest of data.

After 45min of script running and tens of GB sent, this is the situation:
NAME | CPU | MEM | PIDS
orthanc-service   27.39%   5.147GiB / 31.37GiB  16.41%  64
orthanc-db   0.03%  5.59MiB / 31.37GiB    0.02%   8

Any solutions?

Thank you

Jacopo

Jacopo De Luca

unread,
Feb 26, 2021, 12:09:13 PM2/26/21
to Orthanc Users
UPDATE:
After an hour RAM usage is stable at 6GB.

Now the questions are:
why does orthanc need so much memory?
could this behaviour affect other operations (with multiple tasks like zip generating and downloads)?

Thank you so much

Jacopo

Sébastien Jodogne

unread,
Feb 26, 2021, 12:31:57 PM2/26/21
to Orthanc Users
Hello,

I think that the following FAQ in the Orthanc Book should answer your question:
https://book.orthanc-server.com/faq/scalability.html#controlling-memory-usage

Summarizing, you should upgrade "osimis/orthanc:20.9.5" to a version above 20.12.2. As of writing, the latest version is "osimis/orthanc:21.2.0".

HTH,
Sébastien-

Jacopo De Luca

unread,
Mar 1, 2021, 4:45:58 AM3/1/21
to Orthanc Users
Thank you so much!
I'm upgrading my orthanc service to newer version.

However, I noted that used RAM was stable 8GB, also after completing the importing process with old 20.9.5 (Maybe useful for you).

Thank you again

Jacopo

Reply all
Reply to author
Forward
0 new messages