-
Notifications
You must be signed in to change notification settings - Fork 223
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
100% cpu usage #701
Comments
+1. i have the same issue again (after update) |
It is Vim's garbage collection problem. vim-jp/issues#608 (Japanese thread) |
Sorry in Japanese, too.
はい。これは unite.vim 開発直後からある極めて既知の問題だからです。 報告をしていないだけで、困っている報告は以前からあったのではないかと思います。
これはありません。GCの問題をunite.vimの本体で対処しようともしましたが、挫折しました。
確かに私の以前の検証が不十分であったことは否めません。 |
とりあえず、根拠は |
@Shougo 根拠示せてないね。ずーっと
それらは根拠にならないよ。 もう1回言う。 #685, #701の報告はtodeskingさんのpatchがある今は絶好の検証チャンスでしょ。 この辺の所はvim-jp/Issues のパッチ職人の言動みてたらかなり勉強になると思う。頑張れ。 |
了解しました。こちらでtodeskingさんのパッチを使って確かめました。 @brandonbloom Please use this patch for your vim. |
なにがどうなったかさっぱり分からん。Evidence Please!
人を納得させる気ないよね。 |
最小 .vimrc set nocompatible
set rtp+=~/work/unite.vim
set rtp+=~/work/vimproc.vim
" Required:
filetype plugin indent on
let g:unite_source_rec_max_cache_files = 0 環境:Ubuntu 14.04, Vim 7.4.415 これは環境に依存します。私の場合、ホームディレクトリ以下の 10万ファイルのリストを生成させて確認しました。 再現手順:
garbage_collect()の仕様上、手順が自動化できず正確な時間を測定することはできませんでした。 パッチ前:手順3の段階でVimが5分以上フリーズするため測定不能 これでよろしいでしょうか。 |
@Shougo 👍 LGTM --> vim-jp/issues#608 |
Thanks. |
I have the same problem, I confirm that it's a vim problem. I've forked the repo and apply the patch and I confirm that works and no longer gets 100% of CPU using Unite Fork with patch: https://github.com/luishdez/vim I've tested this in OS X, ( best way is to brew edit vim ) and set the zip URL and the sha1 |
Fixed in Vim 7.4.615 |
This is effectively re-opening #685. I'm experiencing the same problem.
Latest unite, macvim, and vimproc. Occurs after using
file_rec/async
at least once. Shortly after closing the unite window, vim becomes completely unresponsive for 5 to 10 seconds. Activity monitory shows 100% CPU usage.Only seems to be a problem for very large trees (mine has about 17,000 files). Smaller trees work great.
The text was updated successfully, but these errors were encountered: