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

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in #1504

Open
flyaction opened this issue Jul 25, 2023 · 1 comment
Assignees

Comments

@flyaction
Copy link

2023/07/25-16:58:44 [INFO] Swoft\SwoftApplication:setSystemAlias(425) Project path: @base=/Users/action/dnmp/www/localhost/swoft_test/swoft
2023/07/25-16:58:44 [INFO] Swoft\SwoftApplication:setSystemAlias(426) Set alias @app=@base/app
2023/07/25-16:58:44 [INFO] Swoft\SwoftApplication:setSystemAlias(427) Set alias @config=@base/config
2023/07/25-16:58:44 [INFO] Swoft\SwoftApplication:setSystemAlias(428) Set alias @runtime=@base/runtime
2023/07/25-16:58:44 [INFO] Swoft\Processor\EnvProcessor:handle(68) Env file(/Users/action/dnmp/www/localhost/swoft_test/swoft/.env) is loaded
2023/07/25-16:58:45 [INFO] Swoft\Processor\AnnotationProcessor:handle(56) Annotations is scanned(autoloader 36, annotation 475, parser 93)
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /Users/action/dnmp/www/localhost/swoft_test/swoft/vendor/swoft/framework/src/BeanHandler.php on line 81

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /Users/action/dnmp/www/localhost/swoft_test/swoft/vendor/swoft/framework/src/BeanHandler.php on line 81

@flyaction
Copy link
Author

下载最新的 swoft后,执行 php bin/swoft rpc:start 内存溢出

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

No branches or pull requests

3 participants