Skip to content

Commit 06415bd

Browse files
Update CONTRIBUTING.md
Co-authored-by: Arkadii Yakovets <2201626+arkid15r@users.noreply.github.com>
1 parent 1f0d20a commit 06415bd

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

CONTRIBUTING.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -738,14 +738,17 @@ git checkout -b feature/my-feature-name
738738
- Select **"Save with Encoding"**.
739739
- Choose **"UTF-8"** from the list (ensure it's not **"UTF-8 with BOM"**).
740740
- Restart the application with `make run` and verify the error is resolved.
741-
- **`exited with code 0` when loading the nest-frontend**
742741
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+
744745
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).
749752
750753
## Code of Conduct
751754

0 commit comments

Comments
 (0)