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

ReactUI Add info to increase heap when building ui & clarify version of node/npm #361

Open
planetf1 opened this issue Mar 8, 2022 · 1 comment
Assignees

Comments

@planetf1
Copy link
Member

planetf1 commented Mar 8, 2022

image

To avoid this see ci/cd build at https://github.com/odpi/egeria-react-ui/blob/main/.github/workflows/node-build.yml

We need to add this setting into the doc ie as environment variable or parameter on the build

NODE_OPTIONS="--max_old_space_size=6144"

For example

export NODE_OPTIONS="--max_old_space_size=6144"
npm run build
...

This should be referenced from https://egeria-project.org/user-interfaces/ecosystem/configure-and-run-presentation-server/

More detail on options at https://nodejs.org/api/cli.html#cli_node_options_options

@planetf1 planetf1 changed the title ReactUI Add info to increase heap when building ui ReactUI Add info to increase heap when building ui & clarify version of node/npm Mar 9, 2022
@planetf1
Copy link
Member Author

planetf1 commented Mar 9, 2022

The build instructions also need to specify the correct version of node/npm to use (x or higher most likely), or point the user back to the source code where that is specified, or otherwise how to find out.

NOTE: The current build in egeria-react-ui under .github/workflows/node_build.yaml is set to use node 14.
If this is not correct, please update to be consistent

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

No branches or pull requests

2 participants