Skip to content

config: new lua.memory option. #4649

@TarantoolBot

Description

@TarantoolBot

Dev. issue: (tarantool/tarantool#9849)

Product: Tarantool
Since: 3.3.0
Root document:

SME: @ georgiy-belyanin

Details

Maximum amount of memory available for can now be specified using
a lua.memory config option.

The value represents amount of memory available to Lua in bytes. By
default it equals to 2GB. The limit can't be less than 256MB. Both
increasing and decreasing the limit is allowed if there would be enough
unused memory after applying a new value. Otherwise, the instance should
be restarted for the new limit to be applied.

Example for limiting Lua memory with 2GB:

lua:
    memory: 2147483648

Requested by @georgiy-belyanin in tarantool/tarantool@eaf401f.

Metadata

Metadata

Assignees

Labels

3.3configserver[area] Task relates to Tarantool's server (core) functionality

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions