From: Vsevolod Stakhov Date: Tue, 4 Nov 2025 11:38:10 +0000 (+0000) Subject: [Minor] Address review comments X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f6d7c791f24349736965e100f745d04fa03077e;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__)