tarantool / tarantool/doc

[2pt] feedback: box.runtime.info() | Tarantool

Open
#2,080 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

<…>lloc is the maximal memory quota that can be allocated for Lua;
**|used is the current memory size used by Lua.

|Return** type:table

Example:
COPYbox.runtime.info()
box.runtime.i<…>

root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_slab/runtime_info/
SME: @ alyapunov

Details

Sergey Kaplun, [19.04.21 14:50]
[In reply to Dmitry Sharonov]
Там в документации что-то странное. maxalloc и used это про слаб арену.
Эти поля вообще к Lua не относятся, IINM.

Suggested estimation: 2pt

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 at the linked box.runtime.info() documentation page and review the descriptions of maxalloc and used. Verify the reported distinction between Lua memory and the slab arena with the named SME before editing. Done means the field descriptions accurately identify what these values measure and the example remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.