Commit def24ab7 authored by Daniel Salzman's avatar Daniel Salzman

conf: decrease default max-journal-db-size to 1 GiB for 32-bit system

parent f4563e32
...@@ -731,7 +731,7 @@ This option is only available in the \fIdefault\fP template. ...@@ -731,7 +731,7 @@ This option is only available in the \fIdefault\fP template.
.UNINDENT .UNINDENT
.UNINDENT .UNINDENT
.sp .sp
\fIDefault:\fP 20 GiB \fIDefault:\fP 20 GiB (1 GiB for 32\-bit)
.SS global\-module .SS global\-module
.sp .sp
An ordered list of references to query modules in the form of \fImodule_name\fP or An ordered list of references to query modules in the form of \fImodule_name\fP or
......
...@@ -850,7 +850,7 @@ large enough. This value also influences server's usage of virtual memory. ...@@ -850,7 +850,7 @@ large enough. This value also influences server's usage of virtual memory.
.. NOTE:: .. NOTE::
This option is only available in the *default* template. This option is only available in the *default* template.
*Default:* 20 GiB *Default:* 20 GiB (1 GiB for 32-bit)
.. _template_global-module: .. _template_global-module:
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#define GIGA(x) (MEGA(1024) * (x)) #define GIGA(x) (MEGA(1024) * (x))
#define TERA(x) (GIGA(1024) * (x)) #define TERA(x) (GIGA(1024) * (x))
#define VIRT_MEM_TOP_32BIT GIGA(2) #define VIRT_MEM_TOP_32BIT GIGA(1)
#define VIRT_MEM_LIMIT(x) (((sizeof(void *) < 8) && ((x) > VIRT_MEM_TOP_32BIT)) \ #define VIRT_MEM_LIMIT(x) (((sizeof(void *) < 8) && ((x) > VIRT_MEM_TOP_32BIT)) \
? VIRT_MEM_TOP_32BIT : (x)) ? VIRT_MEM_TOP_32BIT : (x))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment