-
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
Unite causes vim to freeze with 100% cpu usage #798
Comments
I think it is same problem. You can test GC patch. |
You can see that Vim uses 2GB memory in the screen shot. |
It is vim_dev thread. https://groups.google.com/forum/#!searchin/vim_dev/GC/vim_dev/DBYOdHQWvqY/1WH04_dwETIJ You can request to include the patch in the thread. |
Thanks! I did a lot of googling but I did not find that patch. I'll try apllying it and see if it helps. And thanks a lot for creating Unite. It's amazing! |
I encounter the same problem and I did a fork with the patch applied here: https://github.com/luishdez/vim. I use "OS X" and I did |
I use Debian so what I did was:
checkinstall will create a deb package and install it for you, which is better than cluttering up your root with make install. Wrote this down for anyone that might google this searching for a solution. I haven't used it that much yesterday but I haven't experienced even one freeze, so I think it's fixed. We'll see today but it looks good. THANKS! |
Fixed in Vim 7.4.615 |
That's awesome to hear! I won't have to keep building my own deb package. Thansk Shougo, you are the man! |
Hi,
I'm using vim 7.4.488 on Debian Jessie with newest Unite and vimproc.vim(for file_rec/async). I've managed to reproduce this problem without vimproc.vim so I don't think it's relevant.
At (seemingly)random times vim will freeze, and when looked up in htop it's using 100% or close to 100% cpu:
The freezes sometimes happen when actively using Unite, but sometimes not.
I've tried tracking down this problem by using :profile commands but nothing shows up. Execution times logged using :profile seem to not include the long freezes(several seconds, more than a minute, sometimes endless).
Here's a profile.log from a freeze that lasted about more than 3 minutes:
https://gist.githubusercontent.com/PonderingGrower/4689817e5bcfbf52895c/raw/7ab81ae22d774cffd9551274bc19a02c59c7b618/profile.log
In order to reproduce it I've spent a bit of time doing searches with unite. To be exact using this:
I have tried disabling plugins one by one and I've narrowed down this issue to Unite, but I do not know what to do next to identify what exactly is causing it.
I will be happy to follow any debugging steps you might suggest.
The text was updated successfully, but these errors were encountered: