following some discussions in #7814 there are a few ideas that came up and we'd like to implement: 1. ~~async flush of the Lua VM.~~ done in #13087 2. ~since EVAL is mostly the one that abuses the lua cache, and these won't have pipeline issues, we'd like to implement script eviction only for these (not for one loaded with SCRIPT LOAD). see https://github.com/redis/redis/pull/7814#issuecomment-1965487030 and https://github.com/redis/redis/pull/7814#issuecomment-1973709766~ done in #13108 3. Allocate Lua VM code with jemalloc instead of libc, and count it used memory. for that we need to use MALLOCX_ARENA to make sure it doesn't block the defragger. see https://github.com/redis/redis/pull/7814#issuecomment-717074544 and https://github.com/redis/redis/pull/13087#issuecomment-1962909979