Hello. Since the Lua VM is implemented in Go it follows that by profiling the go server would include the memory / cpu of the lua module itself but I am not sure if anyone has tried that yet and whether you’d see the details of the VM itself in such profile. Now how to profile your server depends on how you run it but maybe this answer will help you: Using pprof to profile - #2 by novabyte