推荐学习书目
› 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 · Aug 3, 2015 · 3980 views
    This topic created in 4075 days ago, the information mentioned may be changed or developed.
    我用node.js写了一个定时执行的小爬虫(就爬个内容然后发email),一开始内存占用大概是40多M,运行到现在15天,内存用了96M。用了pm2来跑
    6 replies  •  2015-08-03 21:15:25 +08:00
    squid157
        1
    squid157  
       Aug 3, 2015 via iPhone
    你什么细节都不给 谁知道你要用多少RAM
    laotaitai
        2
    laotaitai  
       Aug 3, 2015   ❤️ 2
    从来没见过这么傻逼的问题提问方式! 真的! 从来没有!
    zhicheng
        3
    zhicheng  
       Aug 3, 2015 via Android
    占用内存大小和脚本大小不成比例关系。
    PythonAnswer
        4
    PythonAnswer  
       Aug 3, 2015
    用 node.js 跑一个小脚本,要吃多少内存

    我用python写了一个定时执行的小爬虫 ...
    fortunezhang
        5
    fortunezhang  
       Aug 3, 2015
    你能上个代码看看吗?
    ipconfiger
        6
    ipconfiger  
       Aug 3, 2015
    说明了要解决问题要先从学会如何提问开始
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3964 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 05:36 · PVG 13:36 · LAX 22:36 · JFK 01:36
    ♥ Do have faith in what you're doing.