How to run ts-node scripts as a free user (OOM)

You can allocate swap memory using the following commands: