Just in case you were wondering what am FCGI-wrapped lua with JSON, PCRE, and Postgresql libraries looked like from a memory perspective:
> ps -C lua5.1 v PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND 25751 ? S 0:00 8 134 8453 2872 0.2 lua5.1 /usr/bin/wsapi.fcgi