chg: [internal] Raise memory limit for TmptFileTool to 5 MB

pull/6873/head
Jakub Onderka 2021-01-17 21:54:23 +01:00
parent ed10d2089e
commit da6d048c67
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class TmpFileTool
public function __construct($maxInMemory = null)
{
if ($maxInMemory === null) {
$maxInMemory = 2 * 1024 * 1024;
$maxInMemory = 5 * 1024 * 1024;
}
$this->tmpfile = fopen("php://temp/maxmemory:$maxInMemory", "w+");
if ($this->tmpfile === false) {