Env TOOL_NODE_FLAGS in Galaxy

Does anyone know if the env variable TOOL_NODE_FLAGS has some sense in Galaxy?

I found that it allows to tune node params, like garbage collector, when used with meteor script.

Thanks

The TOOL_NODE_FLAGS option doesn’t do anything on Galaxy (or in any app or deployment which is built with meteor build) since the flag is specifically for the meteor tool (hence the variable name), not the application itself.

If you’d like to set flags for the Node.js process which executes your application itself, you can absolutely do that with NODE_OPTIONS. On Galaxy, that variable can be set in the settings.json file using the same method as other environment variables, a process which is documented here. There’s even a section specifically about the garbage collector in the Galaxy Guide on Scaling. :slight_smile:

4 Likes

Thank you! :slight_smile: