Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancInitialization.cpp @ 4374:79ef2b6d8e76
there will be a 1.8.2 release before 1.9.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Dec 2020 10:55:32 +0100 |
parents | 6a39ca7083b9 |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4373:c601f48c7c80 | 4374:79ef2b6d8e76 |
---|---|
282 LoadCustomDictionary(lock.GetJson()); | 282 LoadCustomDictionary(lock.GetJson()); |
283 | 283 |
284 lock.GetConfiguration().RegisterFont(ServerResources::FONT_UBUNTU_MONO_BOLD_16); | 284 lock.GetConfiguration().RegisterFont(ServerResources::FONT_UBUNTU_MONO_BOLD_16); |
285 | 285 |
286 #if HAVE_MALLOPT == 1 | 286 #if HAVE_MALLOPT == 1 |
287 // New in Orthanc 1.9.0 | 287 // New in Orthanc 1.8.2 |
288 // https://book.orthanc-server.com/faq/scalability.html#controlling-memory-usage | 288 // https://book.orthanc-server.com/faq/scalability.html#controlling-memory-usage |
289 unsigned int maxArena = lock.GetConfiguration().GetUnsignedIntegerParameter(MALLOC_ARENA_MAX, 5); | 289 unsigned int maxArena = lock.GetConfiguration().GetUnsignedIntegerParameter(MALLOC_ARENA_MAX, 5); |
290 if (maxArena != 0) | 290 if (maxArena != 0) |
291 { | 291 { |
292 // https://man7.org/linux/man-pages/man3/mallopt.3.html | 292 // https://man7.org/linux/man-pages/man3/mallopt.3.html |