V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
xvsfezz
V2EX  ›  Python

flask memory leak

  •  
  •   xvsfezz · 2017-01-10 17:33:26 +08:00 · 2780 次点击
    这是一个创建于 2665 天前的主题,其中的信息可能已经有所发展或是发生改变。

    有人遇到过么 很简单的一个表单上传文件功能,起来之后不停的上传文件,然后内存不停的上涨,上传停止之后也没有下降。

    2 条回复    2017-01-11 00:54:39 +08:00
    knightdf
        1
    knightdf  
       2017-01-10 17:43:45 +08:00
    很简单,你代码写的有问题
    latyas
        2
    latyas  
       2017-01-11 00:54:39 +08:00
    检查 flask 这方面的实现有没有引起环或者其他不能使得内存正常回收的写法
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1235 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:53 · PVG 01:53 · LAX 10:53 · JFK 13:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.