Nuxt.js: why nuxt use memory so big?

Created on 30 Dec 2017  路  4Comments  路  Source: nuxt/nuxt.js

when I run npm run dev nuxt consume memory around 100-450 MB is it normal?

This question is available on Nuxt.js community (#c2154)

All 4 comments

Yes. It is the development environment. For me it is around the same.

It's normal in the modern JS/webpack world. Under 500MB is quite good compared to other frameworks.

It because webpack-dev-middleware handles files in memory by using memory-fs as files system, so all bundles and webpack compilation related files are all stored in memory.

For production, we recommend you use nuxt build & start instead of dev.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

msudgh picture msudgh  路  3Comments

surmon-china picture surmon-china  路  3Comments

nassimbenkirane picture nassimbenkirane  路  3Comments

shyamchandranmec picture shyamchandranmec  路  3Comments

bimohxh picture bimohxh  路  3Comments