We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
照下面这个文档写的: http://www.laruence.com/manual/yaf.incli.times.html
执行 php cli.php "request_uri=/cli/index/index"
默认会去找模板文件,如果加上 这一句:
Yaf_Dispatcher::getInstance()->disableView();
就会内存泄露:
[Sun Aug 17 11:08:06 2014] Script: 'xxxx/xxx/cli.php' /private/tmp/pear/temp/yaf/requests/simple.c(93) : Freeing 0x10D037D80 (16 bytes), script=xxxx/xxx/cli.php === Total 1 memory leaks detected ===
The text was updated successfully, but these errors were encountered:
恩, 这个是已知的问题, 不过这个不是真正意义上的"内存"泄露(PHP会在请求结束后统一释放). 我会在对ng的支持的过程中, 统一修复这一系列的问题
Sorry, something went wrong.
原来对NG还没全支持啊?我还准备这几天测试下
同样的问题 /php-yaf/requests/yaf_request_simple.c(106) : Freeing 0x7F2EB633D1B0 (10 bytes)
请问,应该怎么配置才不会在命令行出现这个提示
No branches or pull requests
照下面这个文档写的:
http://www.laruence.com/manual/yaf.incli.times.html
执行 php cli.php "request_uri=/cli/index/index"
默认会去找模板文件,如果加上 这一句:
Yaf_Dispatcher::getInstance()->disableView();
就会内存泄露:
[Sun Aug 17 11:08:06 2014] Script: 'xxxx/xxx/cli.php'
/private/tmp/pear/temp/yaf/requests/simple.c(93) : Freeing 0x10D037D80 (16 bytes), script=xxxx/xxx/cli.php
=== Total 1 memory leaks detected ===
The text was updated successfully, but these errors were encountered: