-
Notifications
You must be signed in to change notification settings - Fork 11
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
Timeout errors #3
Comments
Did you update irony-mode since last night or does this error comes from a previous version? For me usually the first time a completion occurs the timeout may be reached, since the file has to be parsed twice by libclang and then it keeps some things in cache and completion should perform better. But if it happens even after the first parse maybe something is wrong. If you set a higher value for the timeout by customizing |
Eh... I just updated and in my simple test case the problem does not exist anymore. It seems that last night's update fixed the problem whatever it was. I'll close this issue if the problem does not reappear till the end of the day. |
I was expecting last night commit to make things the same or slightly worse (but pretty sure it's unnoticeable), but not faster. But 6 days ago a commit should have made things better, so maybe it's the one that solved your problem, completion should perform better since this commit. |
Dear @Sarcasm, I'm not sure that this is related with Sarcasm/flycheck-irony#3. But I do have the following message when I run FYI, I'm using OS X 10.10.2. I've tried different llvm versions -- By the way, in Ubuntu, things are working in an expected way.
|
I don't think it is linked with this issue. If your project isn't properly configured Clang may not be able to cache the preamble, making the completion really costly. Do you know if your file compiles without any issue on OS X? |
@Sarcasm, it compiles with the installed clang++. FYI,
Also, there are some files in my project where |
Can you try to leave out the But please create a new issue I will not reopen this one as it is not related and I may forget about your issue otherwise. |
Yes, this fixes my problem. Is it what we're supposed to do?
Please let me know if you still want me to open an issue for this. |
I created a sepate issue #8. |
I'm experiencing timeout errors, namely:
When I kill the buffer, reopen the file and re-execute
irony-cdb-menu
for loading the compilation DB, completion works fine again (for some time).Below you can find the backtrace starting at
company-complete-common
, which is my entry-point for completion; note that<$$BYTECODE$$>
is a placeholder for some byte-code like part of the backtrace which can not be pasted into github:The text was updated successfully, but these errors were encountered: