luoxiaojun1992 / laravel-tars

Tars driver for laravel.
Apache License 2.0
28 stars 9 forks source link

新版本是否存在内存泄漏问题? #18

Closed dmf-code closed 3 years ago

dmf-code commented 3 years ago
[2020-09-10 09:52:04] local.ERROR: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 1): Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) at /data/tars/tarsnode-data/Activity.groupBuy/bin/src/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:726)
[stacktrace]
#0 {main}
"} 

[2020-09-11 11:44:13] local.ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 1): Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) at /data/tars/tarsnode-data/Activity.groupBuy/bin/src/vendor/laravel/framework/src/Illuminate/Routing/Router.php:393)
[stacktrace]
#0 {main}
"} 

希望能够压测一下,看看是不是框架存在泄漏问题?

luoxiaojun1992 commented 3 years ago

感谢反馈,尝试修复了下,可以更新master的代码测试下,谢谢。

https://github.com/luoxiaojun1992/laravel-tars/commit/fe8dc274d5fdaba9fc02818c0e72f8f39163c939

dmf-code commented 3 years ago

感谢反馈,尝试修复了下,可以更新master的代码测试下,谢谢。

fe8dc27

好的

luoxiaojun1992 commented 3 years ago

19