tarantool / tarantool/doc

feedback: box.runtime.info() | Tarantool

Open
#5,305 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

<…>бъекты, связанные с подсистемой сервера приложений.
возвращает:
|lua – размер динамической памяти Lua, контролируемой сборщиком мусора в Lua;
maxalloc – максимальный размер runtime-памяти;
used – объем памяти, используемый runtime-памятью в данный момент.|

тип возвращаемого значения:
 таблица

Пример:
tarantoo<…>

https://www.tarantool.io/ru/doc/latest/reference/reference_lua/box_slab/runtime_info/

Выполнение "box.runtime.info()" возвращает ешё и "tuple" - количество tuples в runtime.

  • lua: 12554483
    tuple: 160
    maxalloc: 4398046510080
    used: 109051904
    ...

Было добавлено тут: https://github.com/tarantool/tarantool/pull/7028

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Russian documentation page at reference/reference_lua/box_slab/runtime_info/ and compare its return-value description and example with the issue report. Confirm how box.runtime.info() exposes the tuple count, then update the page so the documented result matches the reported output and review the change against PR 7028.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.