From e0757ecc90aab1eb74c6103a6d7092481989f824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raul=20Mauricio=20U=C3=B1ate=20Castro?= Date: Mon, 1 Jul 2024 12:05:02 -0500 Subject: [PATCH] Usage Memory --- docs/.vitepress/config.mts | 2 +- src/Traits/Init.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index c909d07..fdc6083 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -17,7 +17,7 @@ export default defineConfig({ logo: '/img/logo.png', nav: [ { - text: 'Docs ^2.0', + text: 'Docs ^2.1', link: '/', } ], diff --git a/src/Traits/Init.php b/src/Traits/Init.php index 1464f03..0549a8e 100755 --- a/src/Traits/Init.php +++ b/src/Traits/Init.php @@ -48,11 +48,11 @@ public function maxExecutionTime(int $seconds = 60) * This method sets the `memory_limit` directive in PHP to the specified * value, allowing scripts to use more memory if necessary. * - * @param string $limit Memory limit. Default is '256M'. + * @param string $limit Memory limit. Default is '512M'. * * @return $this */ - public function memoryLimit(string $limit = '256M') + public function memoryLimit(string $limit = '512M') { // Store the memory limit in the instance variable $this->memoryLimit = $limit;