From: Vsevolod Stakhov Date: Tue, 4 Nov 2025 11:38:10 +0000 (+0000) Subject: [Minor] Address review comments X-Git-Tag: 3.14.0~21^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5726%2Fhead;p=thirdparty%2Frspamd.git [Minor] Address review comments --- diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 14d95a20f1..931e111a6a 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -2546,7 +2546,7 @@ lua_util_get_memory_usage(lua_State *L) lua_settable(L, -3); lua_pushstring(L, "vsize"); - lua_pushinteger(L, kp.p_vm_vsize); + lua_pushinteger(L, kp.p_vm_vsize * getpagesize()); lua_settable(L, -3); } #elif defined(__FreeBSD__) || defined(__OpenBSD__)