At the cost of a little downtime, I got through the upgrade by applying the usual workaround:
./launcher rebuild app
However, since 1G RAM + 2G swap is a recommended minimum configuration for a small forum, it feels like something is amiss here.
During the rebuild the virtual memory usage was not too bad - the low point, during the same uglifyjs, was
# free
total used free shared buff/cache available
Mem: 1009264 380204 537900 5712 91160 510756
Swap: 2097144 498540 1598604