Skip to content

Commit

Permalink
Merge pull request #355 from sadyrov/gh-pages
Browse files Browse the repository at this point in the history
Added notes from corresponding header. NOJIRA
  • Loading branch information
vserova authored Apr 3, 2024
2 parents 269dd19 + 09215fd commit 080aee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/ch_libconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ Table 4. Run-time configuration parameters
|------------|-----------------------------------------------------------------------------------|--------------------|---------|
| Controls whether to enable `libbackward`'s support for printing stack traces on segmentation faults and the like; the default is based on the build-time flag `--with-backward-cpp-sig`.<br/><br/>**NB:** Code bypassing `CNcbiApplication` but interested in this feature should explicitly call `CStackTrace::s_HonorSignalHandlingConfiguration()`. | **`[Debug]`**<br/>**`Trace_Fatal_Signals`**<br/><br/>**`DEBUG_TRACE_FATAL_SIGNALS`** | Boolean  <sup>a</sup> | varies by build-time configuration, but false for standard builds |
| Set a CPU time limit for the application in seconds. | **`[NCBI]`**<br/>**`CpuTimeLimit`**<br/><br/>**`NCBI_CONFIG__NCBI__CPUTIMELIMIT`**  [<sup>b</sup>](#ch_libconfig.TF.7) | non-negative integer | 0 (unlimited) |
| Set a memory size limit for the application. | **`[NCBI]`**<br/>**`MemorySizeLimit`**<br/><br/>**`NCBI_CONFIG__NCBI__MEMORYSIZELIMIT`**  [<sup>b</sup>](#ch_libconfig.TF.7) | A positive integer percent (e.g. "70%") or an optionally suffixed non-negative real number (e.g. "123456789", "100MiB", or "1.25 G").<br/><br/>A percent limit is relative to the total system memory.<br/><br/>No suffix means the given value is in MiB; a "B" suffix means the value is in bytes.<br/><br/>If there is a suffix, there can be spaces between the number and the suffix. The default units are decimal (i.e. powers of 1000) - e.g. "MB". The final "B" is optional for decimal units (e.g. "M"). You can use "i" to indicate binary units (i.e. powers of 1024) – e.g. "MiB".<br/><br/>Supported suffix characters are: "K", "M", "G", "T", "P", and "E".<br/><br/>Suffixes are not case-sensitive. | 0 (unlimited) |
| Set a memory size limit for the application. Setting the limit may not work on some systems, depends on OS, compilation options and etc. Some systems enforce memory limits, other didn't. If the memory limit is reached, any subsequent memory allocations fails. | **`[NCBI]`**<br/>**`MemorySizeLimit`**<br/><br/>**`NCBI_CONFIG__NCBI__MEMORYSIZELIMIT`**  [<sup>b</sup>](#ch_libconfig.TF.7) | A positive integer percent (e.g. "70%") or an optionally suffixed non-negative real number (e.g. "123456789", "100MiB", or "1.25 G").<br/><br/>A percent limit is relative to the total system memory.<br/><br/>No suffix means the given value is in MiB; a "B" suffix means the value is in bytes.<br/><br/>If there is a suffix, there can be spaces between the number and the suffix. The default units are decimal (i.e. powers of 1000) - e.g. "MB". The final "B" is optional for decimal units (e.g. "M"). You can use "i" to indicate binary units (i.e. powers of 1024) – e.g. "MiB".<br/><br/>Supported suffix characters are: "K", "M", "G", "T", "P", and "E".<br/><br/>Suffixes are not case-sensitive. | 0 (unlimited) |
| Specify the method for filling allocated memory. | **`[NCBI]`**<br/>**`MEMORY_FILL`**<br/><br/>**`NCBI_MEMORY_FILL`** | CI  [<sup>c</sup>](#ch_libconfig.TF.8): none, zero, pattern | pattern |
| Set stack size per thread. | **`[Thread]`**<br/>**`StackSize`**<br/><br/>**`THREAD_STACK_SIZE`** | unsigned integer | 2097152 |

Expand Down

0 comments on commit 080aee7

Please sign in to comment.