Skip to content

Commit

Permalink
Merge branch 'latest' into gh-4668-rep-autoexpel
Browse files Browse the repository at this point in the history
  • Loading branch information
maryiaLichko authored Jan 24, 2025
2 parents 8a72bee + 783c5ab commit 7f8ace4
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions doc/reference/configuration/configuration_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3144,31 +3144,29 @@ The ``lua`` section outlines the configuration parameters related to the Lua env

``lua`` can be defined in any :ref:`scope <configuration_scopes>`.

.. NOTE::

- :ref:`lua.memory <configuration_reference_lua>`


.. _configuration_reference_lua_memory:

.. confval:: lua.memory

Specifies the maximum memory amount available to Lua scripts, measured in bytes.
Specifies the maximum memory amount available to Lua scripts, measured in bytes.

|
| Type: integer
| Default Value: 2147483648 (2GB)
| Environment variable: TT_LUA_MEMORY
When the specified value exceeds the current memory usage, the new limit takes effect immediately without a restart.
However, **when the specified value is lower than the current memory usage, a restart of the instance is required** for the change to take effect.

When the specified value exceeds the current memory usage, the new limit takes effect immediately without a restart.
However, **when the specified value is lower than the current memory usage, a restart of the instance is required** for the change to take effect.
Example to set the Lua memory limit to 4 GB:

Example to set the Lua memory limit to 4 GB:
.. code-block:: yaml
.. code-block:: yaml
lua:
memory: 4294967296
lua:
memory: 4294967296
|
| Type: integer
| Default: 2147483648 (2GB)
| Environment variable: TT_LUA_MEMORY
.. _configuration_reference_memtx:

Expand Down Expand Up @@ -3546,6 +3544,7 @@ The ``replication`` section defines configuration parameters related to :ref:`re

- :ref:`replication.anon <configuration_reference_replication_anon>`
- :ref:`replication.autoexpel <configuration_reference_replication_autoexpel>`
- :ref:`replication.anon <configuration_reference_replication_autoexpel>`
- :ref:`replication.bootstrap_strategy <configuration_reference_replication_bootstrap_strategy>`
- :ref:`replication.connect_timeout <configuration_reference_replication_connect_timeout>`
- :ref:`replication.election_mode <configuration_reference_replication_election_mode>`
Expand Down

0 comments on commit 7f8ace4

Please sign in to comment.