https://bugs.kde.org/show_bug.cgi?id=504590

            Bug ID: 504590
           Summary: sorting ctags should limit memory usage
    Classification: Applications
           Product: kate
      Version First 23.08.5
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: aar...@doofus.org
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
I have many large projects I work on, such as the Linux kernel. Unfortunately,
if I do something like a large git update, each instance of Kate will spawn a
process to sort the ctags, and this takes an enormous amount of memory,
bringing my workstation to a crawl. My workstation has 128GiB of RAM and 32
cores, so it's quite powerful. When calling sort it should limit how much
memory it uses.  On Linux, this can be done using the -S option.  In addition,
it would be nice if it could also use parallelism.

STEPS TO REPRODUCE
1. Have one or more large projects open
2.  Perform an operation, i.e., git, that updates a lot of files
3. Watch computer slow to a crawl as it pages like crazy

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I'm not sure if Kate is the right place to put this. I mostly use KDevelop,
which uses Kate underneath.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to