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

导出2000+数据时会爆内存 #10

Open
a245589351 opened this issue Dec 22, 2020 · 0 comments
Open

导出2000+数据时会爆内存 #10

a245589351 opened this issue Dec 22, 2020 · 0 comments

Comments

@a245589351
Copy link

  • php的运行内存设置为128m,导出2k左右数据时就会爆内存

  • 调试时解开内存限制,发现在循环写入行数据的过程中,使用内存会逐步增大,以致写入2k行后,使用内存达到142.9M,如下图
    image

  • 内存问题建议如何解决?

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

No branches or pull requests

1 participant