Raise production memory limits
Increases maxmempool production bitcoin.conf setting to 2GB, and raises `npm run start-production` nodejs memory limit to 8GB
This commit is contained in:
		
							parent
							
								
									d954b2f5e1
								
							
						
					
					
						commit
						41c7ee598d
					
				@ -27,7 +27,7 @@
 | 
			
		||||
    "package": "npm run build && rm -rf package && mv dist package && mv node_modules package && npm run package-rm-build-deps",
 | 
			
		||||
    "package-rm-build-deps": "(cd package/node_modules; rm -r typescript @typescript-eslint)",
 | 
			
		||||
    "start": "node --max-old-space-size=2048 dist/index.js",
 | 
			
		||||
    "start-production": "node --max-old-space-size=4096 dist/index.js",
 | 
			
		||||
    "start-production": "node --max-old-space-size=16384 dist/index.js",
 | 
			
		||||
    "test": "./node_modules/.bin/jest --coverage",
 | 
			
		||||
    "lint": "./node_modules/.bin/eslint . --ext .ts",
 | 
			
		||||
    "lint:fix": "./node_modules/.bin/eslint . --ext .ts --fix",
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@ listen=1
 | 
			
		||||
discover=1
 | 
			
		||||
par=16
 | 
			
		||||
dbcache=8192
 | 
			
		||||
maxmempool=1337
 | 
			
		||||
maxmempool=4096
 | 
			
		||||
mempoolexpiry=999999
 | 
			
		||||
maxconnections=42
 | 
			
		||||
onion=127.0.0.1:9050
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user