MCPcopy Create free account
hub / github.com/apache/kvrocks / GetLuaMemorySize

Method GetLuaMemorySize

src/server/worker.cc:583–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583int64_t Worker::GetLuaMemorySize() { return (int64_t)lua_gc(lua_, LUA_GCCOUNT, 0) * 1024; }
584
585void Worker::KickoutIdleClients(int timeout) {
586 std::vector<std::pair<int, uint64_t>> to_be_killed_conns;

Callers 1

GetMemoryInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected