feedback: box.runtime.info() | Tarantool
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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