###--------------------------------------------------------------------------
### Some other preliminaries.
+## Set a per-process memory limit. It's much less common for a process to
+## need a lot of memory for a legitimate reason than for it to be a memory
+## leak or some other bug that's going to cause swap death for no good
+## reason.
+ulimit -Sv $(mdw-conf memory-limit 4194304)
+
## Establish a temporary directory.
case ${TMPDIR+t} in
t) ;;