Skip to content

Commit 4e5f937

Browse files
author
Oleksii Korshenko
authored
Merge pull request #1629 from magento-engcom/develop-prs
Public Pull Requests #11771 Removed duplicated rows from the integration PHPUnit config by @rogyar #11760 [TASK] Incorrect minimum memory_limit references have been updated fr… by @lewisvoncken #11727 Fix: field labels wrapping poorly by @enriquei4 Fixed Public Issues #11322 User.ini files specify 768M - Docs recommend at least 1G
2 parents f54e887 + fe56ba9 commit 4e5f937

File tree

9 files changed

+11
-14
lines changed

9 files changed

+11
-14
lines changed

.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
############################################
3737
## adjust memory limit
3838

39-
php_value memory_limit 768M
39+
php_value memory_limit 756M
4040
php_value max_execution_time 18000
4141

4242
############################################
@@ -59,7 +59,7 @@
5959
############################################
6060
## adjust memory limit
6161

62-
php_value memory_limit 768M
62+
php_value memory_limit 756M
6363
php_value max_execution_time 18000
6464

6565
############################################

.htaccess.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
############################################
3636
## adjust memory limit
3737

38-
php_value memory_limit 768M
38+
php_value memory_limit 756M
3939
php_value max_execution_time 18000
4040

4141
############################################

.user.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
memory_limit = 768M
1+
memory_limit = 756M
22
max_execution_time = 18000
33
session.auto_start = off
44
suhosin.session.cryptua = off

app/code/Magento/SampleData/Console/Command/SampleDataDeployCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ private function updateMemoryLimit()
136136
if (function_exists('ini_set')) {
137137
@ini_set('display_errors', 1);
138138
$memoryLimit = trim(ini_get('memory_limit'));
139-
if ($memoryLimit != -1 && $this->getMemoryInBytes($memoryLimit) < 768 * 1024 * 1024) {
140-
@ini_set('memory_limit', '768M');
139+
if ($memoryLimit != -1 && $this->getMemoryInBytes($memoryLimit) < 756 * 1024 * 1024) {
140+
@ini_set('memory_limit', '756M');
141141
}
142142
}
143143
}

app/design/adminhtml/Magento/backend/web/css/styles-old.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,6 @@
13831383
line-height: 1.33;
13841384
vertical-align: middle;
13851385
white-space: normal;
1386-
word-break: break-all;
13871386

13881387
&[data-config-scope] {
13891388
position: relative;

dev/tests/integration/phpunit.xml.dist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
<!-- Memory usage and estimated leaks thresholds -->
5555
<!--<const name="TESTS_MEM_USAGE_LIMIT" value="1024M"/>-->
5656
<const name="TESTS_MEM_LEAK_LIMIT" value=""/>
57-
<!-- Whether to output all CLI commands executed by the bootstrap and tests -->
58-
<!--<const name="TESTS_EXTRA_VERBOSE_LOG" value="1"/>-->
5957
<!-- Path to Percona Toolkit bin directory -->
6058
<!--<const name="PERCONA_TOOLKIT_BIN_DIR" value=""/>-->
6159
<!-- CSV Profiler Output file -->

nginx.conf.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ location ~* ^/setup($|/) {
4141
fastcgi_pass fastcgi_backend;
4242

4343
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
44-
fastcgi_param PHP_VALUE "memory_limit=768M \n max_execution_time=600";
44+
fastcgi_param PHP_VALUE "memory_limit=756M \n max_execution_time=600";
4545
fastcgi_read_timeout 600s;
4646
fastcgi_connect_timeout 600s;
4747

@@ -168,7 +168,7 @@ location ~ (index|get|static|report|404|503)\.php$ {
168168
fastcgi_buffers 1024 4k;
169169

170170
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
171-
fastcgi_param PHP_VALUE "memory_limit=768M \n max_execution_time=18000";
171+
fastcgi_param PHP_VALUE "memory_limit=756M \n max_execution_time=18000";
172172
fastcgi_read_timeout 600s;
173173
fastcgi_connect_timeout 600s;
174174

pub/.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
############################################
3838
## Adjust memory limit
3939

40-
php_value memory_limit 768M
40+
php_value memory_limit 756M
4141
php_value max_execution_time 18000
4242

4343
############################################
@@ -60,7 +60,7 @@
6060
############################################
6161
## Adjust memory limit
6262

63-
php_value memory_limit 768M
63+
php_value memory_limit 756M
6464
php_value max_execution_time 18000
6565

6666
############################################

pub/.user.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
memory_limit = 768M
1+
memory_limit = 756M
22
max_execution_time = 18000
33
session.auto_start = off
44
suhosin.session.cryptua = off

0 commit comments

Comments
 (0)