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

Limit vite build memory usage #2498

Closed
wants to merge 2 commits into from

Conversation

JimmyRowland
Copy link
Collaborator

Description
vite build failure due to beta server memory limitations

Jira link:
Please see #2495, which still produced a JavaScript heap memory error (with 4GB of memory allocated).

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

This will be tested by running deploy upon merge.

  • Passes test case
  • UI components visually reviewed on desktop view
  • UI components visually reviewed on mobile view
  • Other (please explain)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • The precommit and linting ran successfully
  • I have added or updated language tags for text that's part of the UI
  • I have added "MISSING" for all new language tags to languages I don't speak
  • I have added the GNU General Public License to all new files

@JimmyRowland JimmyRowland marked this pull request as draft March 17, 2023 05:04
@JimmyRowland
Copy link
Collaborator Author

The is a backup pr that also limit node memory usage.
Please try #2497 first

@JimmyRowland
Copy link
Collaborator Author

it seems max_old_space_size is specific to host

@iperdomo iperdomo deleted the limit-vite-build-memory-usage branch June 28, 2023 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant