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

Commits on Oct 14, 2024

  1. Fix memory issue during initial configuration

    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 committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    cd1812b View commit details
    Browse the repository at this point in the history