Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory issue during initial configuration #33560

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gupta-kartik
Copy link

@gupta-kartik gupta-kartik commented Oct 14, 2024

Related to #30093

Add documentation and configuration changes to address memory issues during initial configuration.

  • README.md

    • Add a note about the minimum RAM requirement for Rocket.Chat.
    • Add a note about adding swap space if RAM cannot be increased.
  • apps/meteor/server/configureLogLevel.ts

    • Add a comment to suggest reducing log level to minimize memory usage.
  • apps/meteor/example-pm2.json

    • Update the max_memory_restart value to 2048M.
  • apps/meteor/.docker/Dockerfile

    • Add a comment to suggest increasing the memory limit for the container.
  • apps/meteor/.docker-mongo/Dockerfile

    • Add a comment to suggest increasing the memory limit for the container.
  • apps/meteor/.docker/Dockerfile.alpine

    • Add a comment to suggest increasing the memory limit for the container.
  • apps/meteor/server/main.ts

    • Add a comment to suggest optimizing Rocket.Chat configuration to reduce memory usage.

For more details, open the Copilot Workspace session.

Related to RocketChat#30093

Add documentation and configuration changes to address memory issues during initial configuration.

* **README.md**
  - Add a note about the minimum RAM requirement for Rocket.Chat.
  - Add a note about adding swap space if RAM cannot be increased.

* **apps/meteor/server/configureLogLevel.ts**
  - Add a comment to suggest reducing log level to minimize memory usage.

* **apps/meteor/example-pm2.json**
  - Update the `max_memory_restart` value to 2048M.

* **apps/meteor/.docker/Dockerfile**
  - Add a comment to suggest increasing the memory limit for the container.

* **apps/meteor/.docker-mongo/Dockerfile**
  - Add a comment to suggest increasing the memory limit for the container.

* **apps/meteor/.docker/Dockerfile.alpine**
  - Add a comment to suggest increasing the memory limit for the container.

* **apps/meteor/server/main.ts**
  - Add a comment to suggest optimizing Rocket.Chat configuration to reduce memory usage.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/RocketChat/Rocket.Chat/issues/30093?shareId=XXXX-XXXX-XXXX-XXXX).
@gupta-kartik gupta-kartik requested a review from a team as a code owner October 14, 2024 10:12
Copy link
Contributor

dionisio-bot bot commented Oct 14, 2024

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label
  • This PR is missing the required milestone or project
  • This PR has an invalid title

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Oct 14, 2024

⚠️ No Changeset found

Latest commit: cd1812b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants