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

[Bug]: System High memory and CPU uses #127

Closed
mr-chetan opened this issue Dec 24, 2024 · 4 comments · Fixed by #156
Closed

[Bug]: System High memory and CPU uses #127

mr-chetan opened this issue Dec 24, 2024 · 4 comments · Fixed by #156
Assignees
Labels

Comments

@mr-chetan
Copy link

Extension Version

0.1.14

PHP Binary

Valet

Operating System

macOS

What happened?

I have 5000+ files in storage/framework/views.

when I run php artisan optimize:clear my system runs multiple processes and uses full memory and CPU.

Before php artisan optimize:clear
image
After php artisan optimize:clear
image

Mimimal Code Sample

No response

@mr-chetan mr-chetan added the bug label Dec 24, 2024
@mr-chetan mr-chetan changed the title [Bug]: [Bug]: System High memory and CPU uses Dec 24, 2024
@kimhout-sam
Copy link

kimhout-sam commented Dec 25, 2024

maybe your app run recursive function inside providers somewhere, my problem also like that if i remove collection loop and it stop

@mr-chetan
Copy link
Author

maybe your app run recursive function inside providers somewhere, my problem also like that if i remove collection loop and it stop

In my app run No recursive function inside providers

@misaf
Copy link

misaf commented Dec 28, 2024

I have the same problem.

@joetannenbaum
Copy link
Collaborator

Version 0.1.15 was just released with a potential fix to this issue, can you update and see if this resolves the CPU spike?

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

Successfully merging a pull request may close this issue.

4 participants