Try setting memory limit
This commit is contained in:
parent
05b6266669
commit
16040141ae
@ -245,6 +245,10 @@ class Magic
|
||||
//$this->logger->logger('Could not enable PHP logging');
|
||||
}
|
||||
}
|
||||
try {
|
||||
\ini_set('memory_limit', -1);
|
||||
} catch (\danog\MadelineProto\Exception $e) {
|
||||
}
|
||||
// Check if we're in a console, for colorful log output
|
||||
try {
|
||||
self::$isatty = \defined(\STDOUT::class) && hasColorSupport();
|
||||
|
Loading…
Reference in New Issue
Block a user