You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, we noticed an increase in memory usage in our app following the latest release. The recent update included some logic adjustments and dependency updates, including Octane and the Laravel framework. We regularly update all dependencies to keep them current.
I tried to identify the source of the memory leak but couldn't pinpoint any specific changes in our logic that might be causing it.
Even with the standard laravel code base the memory seems to increase on every request, which seems odd to me.
I tired to downgrade to swoole 5.1.4, laravel/framework to 11.27.0 and octane 2.5.5 without any luck.
Shouldn't the memory stay the same between two calls (if the same endpoint is being called)?
edit: I now uncommented CollectGarbageand set garbage to 1. Now the memory stays exactly the same.
Do we have an issue here, or is this happening by design?
Best - Alex
Steps To Reproduce
setup laravel (default)
install octane
run server
call base endpoint multiple times
The text was updated successfully, but these errors were encountered:
Octane Version
2.5.9
Laravel Version
11.32.0
PHP Version
8.3
What server type are you using?
Swoole
Server Version
5.1.5
Database Driver & Version
MySQL 9.1.0
Description
Today, we noticed an increase in memory usage in our app following the latest release. The recent update included some logic adjustments and dependency updates, including Octane and the Laravel framework. We regularly update all dependencies to keep them current.
I tried to identify the source of the memory leak but couldn't pinpoint any specific changes in our logic that might be causing it.
To troubleshoot, I pulled a fresh Laravel codebase (https://github.com/laravel/laravel), added Octane, and checked the memory consumption.
Request number 1:
Request number 100:
Even with the standard laravel code base the memory seems to increase on every request, which seems odd to me.
I tired to downgrade to swoole 5.1.4, laravel/framework to 11.27.0 and octane 2.5.5 without any luck.
Shouldn't the memory stay the same between two calls (if the same endpoint is being called)?
edit: I now uncommented
CollectGarbage
and setgarbage
to1
. Now the memory stays exactly the same.Do we have an issue here, or is this happening by design?
Best - Alex
Steps To Reproduce
The text was updated successfully, but these errors were encountered: