Merge pull request #966 from getmaxun/mem-fix
fix: increase mem allocation to 4gb
This commit is contained in:
@@ -52,7 +52,7 @@ services:
|
|||||||
security_opt:
|
security_opt:
|
||||||
- seccomp=unconfined # This might help with browser sandbox issues
|
- seccomp=unconfined # This might help with browser sandbox issues
|
||||||
shm_size: '2gb' # Increase shared memory size for Chromium
|
shm_size: '2gb' # Increase shared memory size for Chromium
|
||||||
mem_limit: 2g # Set a 2GB memory limit
|
mem_limit: 6g # Set 6GB memory limit
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
- minio
|
- minio
|
||||||
|
|||||||
@@ -86,7 +86,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npm run build:server && concurrently -k \"npm run server\" \"npm run client\"",
|
"start": "npm run build:server && concurrently -k \"npm run server\" \"npm run client\"",
|
||||||
"server": "cross-env NODE_OPTIONS='--max-old-space-size=1024' node server/dist/server/src/server.js",
|
"server": "cross-env NODE_OPTIONS='--max-old-space-size=4096' node server/dist/server/src/server.js",
|
||||||
"start:dev": "concurrently -k \"npm run server:dev\" \"npm run client\"",
|
"start:dev": "concurrently -k \"npm run server:dev\" \"npm run client\"",
|
||||||
"server:dev": "cross-env NODE_OPTIONS='--max-old-space-size=2048' nodemon server/src/server.ts",
|
"server:dev": "cross-env NODE_OPTIONS='--max-old-space-size=2048' nodemon server/src/server.ts",
|
||||||
"client": "vite",
|
"client": "vite",
|
||||||
|
|||||||
Reference in New Issue
Block a user