comparison Sphinx/source/faq/troubleshooting.rst @ 41:1c8aaaea72b2

runtime assertions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Sep 2016 08:57:28 +0200
parents dabe6df0267f
children a52f1dc48ebc
comparison
equal deleted inserted replaced
40:99b45a963bcf 41:1c8aaaea72b2
26 ``RegisteredUsers`` option, also in the configuration file. 26 ``RegisteredUsers`` option, also in the configuration file.
27 27
28 28
29 Performance issues 29 Performance issues
30 ------------------ 30 ------------------
31
32 * **Run-time debug assertions**: If performance is important to you,
33 make sure to add the option ``-DCMAKE_BUILD_TYPE=Release`` when
34 invoking ``cmake`` while :ref:`compiling Orthanc
35 <compiling>`. Indeed, by default, `run-time debug assertions
36 <https://en.wikipedia.org/wiki/Assertion_(software_development)#Assertions_for_run-time_checking>`_
37 are enabled, which can seriously impact performance, especially if
38 your Orthanc server stores a lot of DICOM instances.
39
40 Note that the `official Docker images
41 <https://github.com/jodogne/OrthancDocker>`__ of Orthanc <= 1.0.0
42 were not compiled in ``Release`` mode. As a consequence, to improve
43 performance, make sure to use either the mainline version of the
44 container, or versions more recent than ``jodogne/orthanc:1.1.0``.
31 45
32 * **Orthanc Explorer is slow under Windows on the localhost**: 46 * **Orthanc Explorer is slow under Windows on the localhost**:
33 47
34 - Favor ``127.0.0.1`` instead of ``localhost`` when specifying the 48 - Favor ``127.0.0.1`` instead of ``localhost`` when specifying the
35 network address of a server. Users have reported that this minor 49 network address of a server. Users have reported that this minor