I run a very simple test program and it consumes 130 MB of memory. What caused this problem?
ts-node --files test.ts
// module: tset.ts
setTimeout(() => {
console.log('ok!')
}, 10000);

Ts-node need much memory for transfile (ts -> js) so it has big size than normal node execution env.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With