You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a great project and very easy to run typescript with es module support.
But my application is running out of heap size, so I would like to increase the size.
After searching from internet, I need to increase the size by running node --max-old-space-size 4096 index.js
I tried to enter something similar: vite-node --max-old-space-size 4096 index.ts, but failed.
Unknown option --max_old_space_size=5048
How to set max-old-space-size in runtime without setting env?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It's a great project and very easy to run typescript with es module support.
But my application is running out of heap size, so I would like to increase the size.
After searching from internet, I need to increase the size by running node --max-old-space-size 4096 index.js
I tried to enter something similar: vite-node --max-old-space-size 4096 index.ts, but failed.
Unknown option --max_old_space_size=5048
How to set max-old-space-size in runtime without setting env?
Beta Was this translation helpful? Give feedback.
All reactions