Skip to content

Commit

Permalink
Set memory_limit to 1.4G (#5386)
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Nov 28, 2023
1 parent b6716b9 commit 41d48ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

setlocale( LC_ALL, 'en_GB.UTF-8' );

// 1400MiB
ini_set( 'memory_limit', 1400 * 1024 * 1024 );

// Configure PHP request timeouts.
if ( PHP_SAPI === 'cli' ) {
$wgRequestTimeLimit = 0;
Expand Down

0 comments on commit 41d48ae

Please sign in to comment.