Allowed memory size of 1098907648 bytes exhausted (tried to allocate 390399640 bytes)

Its error coming bacause The “Allowed memory size exhausted” error in PHP indicates that your script has attempted to use more memory than the limit allowed by the PHP configuration. It’s a common issue, and here are several strategies you can use to resolve or mitigate the problem:

Increase Memory Limit:

  • You can try increasing the memory limit in your php.ini file or in your script using ini_set. Locate your php.ini file, find the memory_limit directive, and increase its value. For example:

Go to php.ini file

Just change as do below for unlimited limit

memory_limit=-1

Now error has been solved 👍👍

Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.

Related Posts

XAMPP: Stopping Apache…not running.XAMPP: Stopping MySQL…not running.

It seems like XAMPP is trying to stop Apache and MySQL, but it’s indicating that they are not running. This message typically occurs when XAMPP detects that…

ERROR 1153 (08S01) at line 1041: Got a packet bigger than ‘max_allowed_packet’ bytes

Error:- Solution Open below file And put the below code Next restart the server.

List of MySQL Query Performance in Laravel ?

In this tutorial we’re going to learn what are the steps for impoving the MySQL Query performance in Laravel. 1. What is Chunk function ? The chunk method in…

Using of Chunk function increase the Mysql query performance ?

What is Chunk function ? The chunk method in Laravel is primarily designed to help with memory efficiency rather than directly improving MySQL query performance. It allows…

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x