File tree Expand file tree Collapse file tree 2 files changed +30
-7
lines changed
Expand file tree Collapse file tree 2 files changed +30
-7
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,31 @@ and external repository that contains the lists of tools for every instance: htt
9292
9393Following are troubleshooting notes gathered through the learning process.
9494
95+
96+ # ## client build OOM
97+
98+ - stop app before building
99+ - do not build maps (`make client-production` only)
100+ - set reasonable heap (e.g. `NODE_OPTIONS : --max_old_space_size=4096`)
101+ - disable webpack parallel minimizer
102+
103+ ` ` ` diff
104+ diff --git a/client/webpack.config.js b/client/webpack.config.js
105+ index 8202237857..99f86ec25d 100644
106+ --- a/client/webpack.config.js
107+ +++ b/client/webpack.config.js
108+ @@ -43,7 +43,7 @@ module.exports = (env = {}, argv = {}) => {
109+ if (targetEnv == "production") {
110+ minimizations = {
111+ minimize: true,
112+ - minimizer: [new TerserPlugin(), new CssMinimizerPlugin()],
113+ + minimizer: [new TerserPlugin({parallel: false,}), new CssMinimizerPlugin()],
114+ };
115+ } else {
116+ minimizations = {
117+ ` ` `
118+
119+
95120# ## glibc
96121
97122On ubuntu < 22.04 and Debian < 12 the GLIBC version is incompatible with the ```galaxyproject.tusd``` GLIBC, therefore playbook ends in error.
Original file line number Diff line number Diff line change 177177 repo : ' https://github.com/usegalaxy-eu/libraries-training-repo'
178178 dest : /libraries/
179179
180- # disabled for now because for release 25.0 this does not help anymore
181-
182- # - name: stop galaxy to free mem for client build
183- # become: true
184- # become_user: root
185- # ansible.builtin.command: galaxyctl stop
186- # when: "inventory_hostname in ['galaxy-qa1.galaxy.cloud.e-infra.cz', 'galaxy-qa2.galaxy.cloud.e-infra.cz']"
180+ - name : stop galaxy to free mem for client build
181+ become : true
182+ become_user : root
183+ ansible.builtin.command : galaxyctl stop
184+ when : " inventory_hostname in ['galaxy-qa1.galaxy.cloud.e-infra.cz', 'galaxy-qa2.galaxy.cloud.e-infra.cz']"
187185
188186 # this needs to be in the correct spot, not here, either via fork or enabling this configuration upstream
189187
You can’t perform that action at this time.
0 commit comments