Closed ADD-SP closed 1 year ago
Function Prototype: total, estimate = gcdetails()
total, estimate = gcdetails()
Returns two values, the first is the total memory used by Lua (KiB), the second is the total memory occupied by alive objects and unswept objects (KiB).
The second value is an estimated value and is not accurate.
Sister PR: https://github.com/Kong/kong/pull/9819
Function Prototype:
total, estimate = gcdetails()
Returns two values, the first is the total memory used by Lua (KiB), the second is the total memory occupied by alive objects and unswept objects (KiB).
The second value is an estimated value and is not accurate.
Sister PR: https://github.com/Kong/kong/pull/9819