ctags creates massive file in my project directory and hangs my computer
ctags creates a massive file in my project directory and hangs my computer.
If I send SIGSTOP to ctags (easy to do using System Monitor), then I can stop it before it hangs my desktop. In this case, I notice it has created a 21 GB file WebKit/JSTests/ChakraCore/test/Function/tags.1OOI0s
. The file was growing quickly before I stopped it.
I see two problems here:
- This file is too big. I presume something under WebKit/JSTests/ChakraCore/test/Function/ causes ctags to go crazy. This seems more likely to be a ctags bug than a Builder bug. I'd appreciate some guidance in preparing a bug report for the ctags developers.
- It should not hang my desktop. gnome-shell becomes unusable and I have to force power off. I'm not inclined to let Builder off the hook for this. :)
I'm not really sure how the desktop hang is happening. When I tried using Builder long ago, ctags would fill up my /tmp with temporary files, but that has definitely been fixed: ctags is not creating any files under /tmp, it is creating them in my working directory, and only one at a time. The ctags process is not using much memory itself at all, only 4 MB. And I have plenty of disk space, so even a 20 GB file is not enough to cause problems. It's using extremely high CPU usage, but it seems to be single-threaded so I should have plenty of CPU power left available. We are guessing the hang is probably caused by excessive disk I/O.
This is with Builder 3.28.2.