比如我要搜索麦克,麦克在数据库中有28万条数据。
后台直接报错:
PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16777224 bytes)
只请求了limit 8条数据,内存为啥就溢出了,我把memory_limit 设置成 1024M了,还是顶不住,怎么解决?
比如我要搜索麦克,麦克在数据库中有28万条数据。
后台直接报错:
PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16777224 bytes)
只请求了limit 8条数据,内存为啥就溢出了,我把memory_limit 设置成 1024M了,还是顶不住,怎么解决?
CRMEB官方 最后编辑于2022-10-09 00:14:40
相关推荐
快速安全登录
微信登录/注册
{{ bind_phone ? '绑定手机' : '手机登录'}}
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}