{"id":5912,"date":"2021-04-17T06:30:30","date_gmt":"2021-04-17T06:30:30","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=5912"},"modified":"2021-04-17T06:42:45","modified_gmt":"2021-04-17T06:42:45","slug":"how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/","title":{"rendered":"How to fix PHP fatal error in Laravel?  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Whenever we type the below displayed command <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"425\" height=\"57\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-7.png\" alt=\"\" class=\"wp-image-5915\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-7.png 425w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-7-300x40.png 300w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><figcaption>locobucci error<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We see the command runs initially good but there comes some problem in few moments. similar to <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"119\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-6-1024x119.png\" alt=\"\" class=\"wp-image-5914\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-6-1024x119.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-6-300x35.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-6-768x90.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-6.png 1466w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>php fatal error<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This error is PHP fatal error: and complete display image is <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"367\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-5-1024x367.png\" alt=\"\" class=\"wp-image-5913\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-5-1024x367.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-5-300x108.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-5-768x275.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-5.png 1486w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>fatal error complete image<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:25px\"><strong>What we need to do to remove this ?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Folllow the below steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Close the xampp if its running.<\/li><li>got to <strong>\u201cC:\\ProgramData\\ComposerSetup\\bin\u201d<\/strong>  (we can copy the location and paste it in the explorer header) <\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"108\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-8.png\" alt=\"\" class=\"wp-image-5917\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-8.png 733w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-8-300x44.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><figcaption>explorer heading<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">just press on the above header (after pc) and paste the location and press enter  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"108\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-9.png\" alt=\"\" class=\"wp-image-5918\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-9.png 648w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-9-300x50.png 300w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><figcaption>composer setup\/bin location<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This will open the file location: <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"865\" height=\"227\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-10.png\" alt=\"\" class=\"wp-image-5919\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-10.png 865w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-10-300x79.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-10-768x202.png 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. We then need to open the <strong>composer.bat<\/strong> to edit it (<em>right click on it and click on edit with notepad++<\/em>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Now just copy the below code and <strong>replace <\/strong>it with the code present in <strong>composer.bat<\/strong> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Code:<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n@echo OFF\n:: in case DelayedExpansion is on and a path contains ! \nsetlocal DISABLEDELAYEDEXPANSION\nphp -d memory_limit=-1 &quot;%~dp0composer.phar&quot; %*\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">5. <strong>Now save it.<\/strong>  For saving it<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Press (Ctrl + S)<\/li><li>we will be prompted as run as Administrator. <\/li><li>press Allow<\/li><li>Then again Press ( Ctrl + S)<\/li><li>The file will be saved.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Now we can run the above command and check it.  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">we will see the command execuites sucessfully <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"626\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-11-1024x626.png\" alt=\"\" class=\"wp-image-5920\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-11-1024x626.png 1024w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-11-300x183.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-11-768x470.png 768w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-11.png 1511w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Happy Coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whenever we type the below displayed command We see the command runs initially good but there comes some problem in [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5049,156],"tags":[5226,4709,5221,5224,5225,5222,5223,5220],"class_list":["post-5912","post","type-post","status-publish","format-standard","hentry","category-laravel","category-websites","tag-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes","tag-fatal-error","tag-fatal-error-in-php","tag-fix-php-fatal-error-in-laravel","tag-how-to-fix-php-fatal-error-in-laravel","tag-memory-limit-exceeded-in-php","tag-memory-size-exhausted","tag-php-fatal-error"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to fix PHP fatal error in Laravel? Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to fix PHP fatal error in Laravel? Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Whenever we type the below displayed command We see the command runs initially good but there comes some problem in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-17T06:30:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-17T06:42:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-7.png\" \/>\n<meta name=\"author\" content=\"abhishek k\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"abhishek k\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/\"},\"author\":{\"name\":\"abhishek k\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/143500a93b88a96d3c9602b3df804cb6\"},\"headline\":\"How to fix PHP fatal error in Laravel? Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)\",\"datePublished\":\"2021-04-17T06:30:30+00:00\",\"dateModified\":\"2021-04-17T06:42:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/\"},\"wordCount\":211,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/image-7.png\",\"keywords\":[\"Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)\",\"Fatal error\",\"fatal error in php\",\"fix PHP fatal error in Laravel\",\"How to fix PHP fatal error in Laravel?\",\"memory limit exceeded in php\",\"memory size exhausted\",\"php Fatal error\"],\"articleSection\":[\"Laravel\",\"Websites\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/\",\"name\":\"How to fix PHP fatal error in Laravel? Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/image-7.png\",\"datePublished\":\"2021-04-17T06:30:30+00:00\",\"dateModified\":\"2021-04-17T06:42:45+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/143500a93b88a96d3c9602b3df804cb6\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/image-7.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/image-7.png\",\"width\":425,\"height\":57},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to fix PHP fatal error in Laravel? Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/143500a93b88a96d3c9602b3df804cb6\",\"name\":\"abhishek k\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g\",\"caption\":\"abhishek k\"},\"description\":\"Abhishek is a full-stack developer that provides the solution for the design and analysis of Website and Mobile Application. Expertise in HTML, CSS, JAVASCRIPT, LARAVEL.\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/abhishek\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to fix PHP fatal error in Laravel? Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/","og_locale":"en_US","og_type":"article","og_title":"How to fix PHP fatal error in Laravel? Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) - scmGalaxy","og_description":"Whenever we type the below displayed command We see the command runs initially good but there comes some problem in [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/","og_site_name":"scmGalaxy","article_published_time":"2021-04-17T06:30:30+00:00","article_modified_time":"2021-04-17T06:42:45+00:00","og_image":[{"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-7.png","type":"","width":"","height":""}],"author":"abhishek k","twitter_card":"summary_large_image","twitter_misc":{"Written by":"abhishek k","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/"},"author":{"name":"abhishek k","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/143500a93b88a96d3c9602b3df804cb6"},"headline":"How to fix PHP fatal error in Laravel? Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)","datePublished":"2021-04-17T06:30:30+00:00","dateModified":"2021-04-17T06:42:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/"},"wordCount":211,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-7.png","keywords":["Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)","Fatal error","fatal error in php","fix PHP fatal error in Laravel","How to fix PHP fatal error in Laravel?","memory limit exceeded in php","memory size exhausted","php Fatal error"],"articleSection":["Laravel","Websites"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/","name":"How to fix PHP fatal error in Laravel? Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-7.png","datePublished":"2021-04-17T06:30:30+00:00","dateModified":"2021-04-17T06:42:45+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/143500a93b88a96d3c9602b3df804cb6"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-7.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/image-7.png","width":425,"height":57},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-fix-php-fatal-error-in-laravel-allowed-memory-size-of-1610612736-bytes-exhausted-tried-to-allocate-4096-bytes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to fix PHP fatal error in Laravel? Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/143500a93b88a96d3c9602b3df804cb6","name":"abhishek k","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g","caption":"abhishek k"},"description":"Abhishek is a full-stack developer that provides the solution for the design and analysis of Website and Mobile Application. Expertise in HTML, CSS, JAVASCRIPT, LARAVEL.","url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/abhishek\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=5912"}],"version-history":[{"count":3,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5912\/revisions"}],"predecessor-version":[{"id":5923,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5912\/revisions\/5923"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=5912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=5912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=5912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}