-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
counsel-git-grep frequently hangs #2116
Comments
I think the hangs might be related to a large amount of output from either |
@abo-abo: I attempted your suggestion over the course of the last week and can confirm that the sort of queries I run do not produce megabytes of output. There's definitely something else at play here and I don't think Any other steps you recommend I take to try and debug this? |
What's your system and Emacs version? Is there a public repository to reproduce it with, and a set of steps that are likely to demonstrate the bug? |
@abo-abo System is Ubuntu I'm more and more inclined to think that this issue does not manifest itself on a fresh Emacs session and it is only after some time has gone by and several uses of Ivy's awesome When C-g finally restores input the following message is consistently produced in
|
This public repo is sufficiently big:
To isolate the interference from other packages, use:
|
Any update? If there's no way to reproduce the issue, it's better to close it. |
Unfortunately I keep stepping into the issue every now and then but not in a way that would be reproduceable. Thanks for your assistance with this! Closing. |
When running
counsel-git-grep
on a fairly large mono-repo, I get frequent hangs that block emacs, making it completely unusable, and which can only be resolved by killing the runninggit
process viapkill git
. Only once I killgit
can I issue C-g to finally stop counsel and get input back in emacs. In addition to the hangs, I have seen memory consumption increase greatly since I started using ivy + counsel + swiper and suspect the lock ups I've been experiencing are the cause. For instance, my current emacs session has a total of 110 buffers open and a RSS memory consumption of over 1GiB:Perhaps because of the high memory consumption, I've noticed that sometimes emacs itself freezes momentarily for anywhere .5s to 2s, which I don't really know how to explain. Running
(garbage-collect)
does nothing to the overall memory consumption and returns the following:Lastly, I have also observed the exact same behaviour when running
counsel-ag
, perhaps even more often than withcounsel-git-grep
.I'd be happy to help further nail down the causes of the hangs and suspected resultant higher memory consumption.
The text was updated successfully, but these errors were encountered: