You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Tools: Fixed out of memory error on CI (#5550)
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/scripts/run_ci.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/scripts/run_ci.sh
									
									
									
									
										vendored
									
									
								
							| @@ -62,6 +62,13 @@ npm install | ||||
| if [ "$IS_PULL_REQUEST" == "1" ] || [ "$IS_DEV_BRANCH" = "1" ]; then | ||||
| 	echo "Step: Running tests..." | ||||
|  | ||||
| 	# Need this because we're getting this error: | ||||
| 	# | ||||
| 	# @joplin/lib: FATAL ERROR: Ineffective mark-compacts near heap limit | ||||
| 	# Allocation failed - JavaScript heap out of memory | ||||
| 	# | ||||
| 	# https://stackoverflow.com/questions/38558989 | ||||
| 	export NODE_OPTIONS="--max-old-space-size=4096" | ||||
| 	npm run test-ci | ||||
| 	testResult=$? | ||||
| 	if [ $testResult -ne 0 ]; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user