Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added notes from corresponding header. NOJIRA #355

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added notes from corresponding header. NOJIRA
  • Loading branch information
Rafael Sadyrov committed Apr 3, 2024
commit 09215fd09f454ec7f539eaa9d00bb3db18e00a80
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