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
- Choose **"UTF-8"** from the list (ensure it's not **"UTF-8 with BOM"**).
740
740
- Restart the application with `make run` and verify the error is resolved.
741
-
- **`exited with code 0` when loading the nest-frontend**
742
741
743
-
This error is usually caused by an out-of-memory (OOM) issue. The Next.js application can require several GB of memory when running in a container. This can usually be resolved by increasing the memory allocated to Docker in your local container engine (for example, Docker Desktop).
742
+
- **`Exited with code 0` error when loading the nest-frontend**
743
+
This often indicates the container was killed due to out-of-memory (OOM). The Next.js application can require several GB of memory when running in Docker.
744
+
744
745
To diagnose:
745
-
- Start up all the containers with `make run`
746
-
- Run `docker stats nest-frontend`in a separate terminal
747
-
- Attempt to load the frontend (e.g. <http://localhost:3000>)
748
-
- Watch as the memory usage increases and then suddenly resets to 0 on the `docker stats` terminal
746
+
- Start all containers with `make run`
747
+
- In a separate terminal, run `docker stats nest-frontend`
748
+
- Load the frontend (e.g. <http://localhost:3000>)
749
+
- If you see memory usage climb and then drop to 0, the container was OOM-killed.
750
+
751
+
To resolve: Increase the memory allocated to Docker in your container engine (e.g. Docker Desktop: Settings → Resources → Memory Limit).
0 commit comments