Skip to content

wasp start takes a lot of memory (~1 GB) to run frontend #955

@Martinsos

Description

@Martinsos

We noticed that wasp start takes about 1GB of memory(RAM).
That seemed a lot, so I tested a bit more, by running npm start in .wasp/out for server and frontend.
It turns out, server spends almost no memory, while frontend is the one that consumes almost 1GB of it.
So the question is, why does frontend consume so much of it, and how we can we avoid this?

We should try to improve this and have frontend spend less memory.
This would make wasp a lighter process to run on devs machines, but would also help a lot with running it in cloud environments like Replit where memory is quite limited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    shouldfixWe should do/fix this at some pointwebdev

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions