mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
11 lines
219 B
Lua
11 lines
219 B
Lua
local skynet = require "skynet"
|
|
local memory = require "memory"
|
|
|
|
memory.dumpinfo()
|
|
memory.dump()
|
|
|
|
print("Total memory:", memory.total())
|
|
print("Total block:", memory.block())
|
|
|
|
skynet.start(function() skynet.exit() end)
|