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

pycharm 的 index 目录怎么才能小点?

  •  
  •   oglop · 2016-07-27 05:18:07 +08:00 · 5825 次点击
    这是一个创建于 2837 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在公司用,磁盘有配额的 `~/.PyCahrm2016.1/system `这个目录超大,快 1g 了,只能完全禁止 indexing?

    8 条回复    2016-07-28 09:01:36 +08:00
    yyfearth
        1
    yyfearth  
       2016-07-27 07:48:57 +08:00
    应该可以定时清理一下
    除非你们的代码量超级大 否则重新索引后 应该可以接受

    我不清楚 PY
    但是我用 WebStorm Cache 会越来越大 超过 500MB
    删掉重建后 回到 200MB 左右的正常值
    yyfearth
        2
    yyfearth  
       2016-07-27 07:50:57 +08:00
    另外 如果磁盘配额是限制了每个用户目录的使用量 是不是也可以考虑把这个文件夹移动到临时文件夹 让后 SymLink 一下?
    tomoya92
        3
    tomoya92  
       2016-07-27 09:06:54 +08:00
    不建 index ,搜索,导航都要失效了吧
    tanywei
        4
    tanywei  
       2016-07-27 09:55:57 +08:00
    这货 2k 行 IDE 就卡死啊
    shimanooo
        5
    shimanooo  
       2016-07-27 10:28:15 +08:00
    File -> Invalidate cache & restar.

    当然可能重建完之后还是这么大..
    shimanooo
        6
    shimanooo  
       2016-07-27 10:29:08 +08:00
    1G 的话真不算大...
    wangxkww
        7
    wangxkww  
       2016-07-27 11:18:09 +08:00
    是不是 home 目录有配额,另外还给了其他容量充足的硬盘,如果是可以直接软链过去吧
    pyufftj
        8
    pyufftj  
       2016-07-28 09:01:36 +08:00
    才 1G 。。。现在硬盘都白菜价了。加硬盘
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2476 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 14:08 · PVG 22:08 · LAX 07:08 · JFK 10:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.