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
coolicer
V2EX  ›  Python

用 python 跑一个小脚本,要吃多少内存

  •  
  •   coolicer · 2015 年 8 月 3 日 · 3710 次点击
    这是一个创建于 3816 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我用node.js写了一个定时执行的小爬虫(就爬个内容然后发email),一开始内存占用大概是40多M,运行到现在15天,内存用了96M。用了pm2来跑
    6 条回复    2015-08-03 21:15:25 +08:00
    squid157
        1
    squid157  
       2015 年 8 月 3 日 via iPhone
    你什么细节都不给 谁知道你要用多少RAM
    laotaitai
        2
    laotaitai  
       2015 年 8 月 3 日   ❤️ 2
    从来没见过这么傻逼的问题提问方式! 真的! 从来没有!
    zhicheng
        3
    zhicheng  
       2015 年 8 月 3 日 via Android
    占用内存大小和脚本大小不成比例关系。
    PythonAnswer
        4
    PythonAnswer  
       2015 年 8 月 3 日
    用 node.js 跑一个小脚本,要吃多少内存

    我用python写了一个定时执行的小爬虫 ...
    fortunezhang
        5
    fortunezhang  
       2015 年 8 月 3 日
    你能上个代码看看吗?
    ipconfiger
        6
    ipconfiger  
       2015 年 8 月 3 日
    说明了要解决问题要先从学会如何提问开始
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5388 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:57 · PVG 13:57 · LAX 21:57 · JFK 00:57
    ♥ Do have faith in what you're doing.