Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Exhaustion Error: Allowed Memory Size of 512MB Exceeded #37

Open
yahyaahrika opened this issue Sep 12, 2024 · 0 comments
Open

Memory Exhaustion Error: Allowed Memory Size of 512MB Exceeded #37

yahyaahrika opened this issue Sep 12, 2024 · 0 comments

Comments

@yahyaahrika
Copy link

We are encountering a memory exhaustion issue in the project. Specifically, the error message is:

Allowed memory size of 536870912 bytes exhausted (tried to allocate 203427840 bytes)
Steps to Reproduce:

Set Up Environment:

Clone the repository.
Set up the environment according to the documentation.

Run the Application:

Start the application using the built-in PHP server or other means as described in the documentation.
Trigger the Issue:

Perform the actions or operations that lead to the memory exhaustion (e.g., processing large files, executing memory-intensive queries).

Expected Behavior:

The application should handle the operations without exceeding the allocated memory limit or should provide a more descriptive error if a memory limit is reached.

Actual Behavior:

The application throws a memory exhaustion error, indicating that the memory limit of 512 MB has been exceeded. The specific error message is:

after that update to 1G but the same issue

Additional Information:

Environment Details:

PHP Version: [e.g., PHP 8.3.6]
Laravel Version: [e.g., Laravel 10]
Operating System: [e.g., Windows 10]
Server Software: [e.g., WampServer]
Configuration Details:

Memory Limit Setting: [e.g., Set to 512 MB in php.ini]
Possible Solutions:

Increase the memory limit temporarily to see if it resolves the issue.
Review and optimize code to handle large datasets more efficiently.
Investigate third-party packages and their impact on memory usage.

image

and also Avast Block file server.php

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant