-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
vim hangs while exiting a large tags file #519
Comments
This part is suspicious - this processing should end if vim is closing.
|
So this is only happening on Vim shutdown? If so, this is a known issue that will be addressed with #358. |
Well, I noticed it only during shutdown. On Mon, Aug 19, 2013 at 2:21 PM, Val Markovic [email protected]:
|
Then it's a known issue. It's caused by YCM background threads still doing work and Vim waiting for them to finish before shutting down. Stopping the threads mid-stream is unsafe (YCM used to do that a long time ago). |
Ok - I think I can live with this for now by disabling YCM for large files. On Mon, Aug 19, 2013 at 2:27 PM, Val Markovic [email protected]:
|
@naseer How exactly did you disable YCM for large files? Disabling YCM on a perfile basis would be useful. I know about the blacklist variable, but that doesn't help with identifying large files. |
@norcalli - at that time I had a check like this for something else - http://vim.wikia.com/wiki/Faster_loading_of_large_files |
I think it is Vim's GC problem. https://groups.google.com/forum/#!searchin/vim_dev/GC/vim_dev/DBYOdHQWvqY/1WH04_dwETIJ |
…lders, r=Valloric [READY] Use LIBPL variable to find Python library Currently, the `build.py` script may found a debug version of the Python library instead of the release version because it searches through all the subdirectories of the standard library path. See issue ycm-core#518 for details. The solution suggested by @jmenashe (using `LIBPL` variable) works fine for system Python but not for `pyenv` because there is no dynamic library in the directory returned by the `LIBPL` variable. Taking this into account, we now search the Python library in a list of directories. On Windows, this list only contains one directory; the same one as before. On other platforms, it contains two directories: - the one returned by the `LIBPL` variable (for system Python); - the parent directory of the standard Python library modules (for pyenv). Closes ycm-core#518. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/519) <!-- Reviewable:end -->
The text was updated successfully, but these errors were encountered: