Skip to content
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

Eclipse CDT 2024-06 on Debian is too slow #877

Open
fireflyming opened this issue Jul 31, 2024 · 2 comments
Open

Eclipse CDT 2024-06 on Debian is too slow #877

fireflyming opened this issue Jul 31, 2024 · 2 comments

Comments

@fireflyming
Copy link

fireflyming commented Jul 31, 2024

Describe the bug
Compiling and running helloworld demo took too long time.
The CPU and memory usage of Spawner Reaper process were very high.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
take no more than 1min.

Screenshots
eclipse-c
eclipse-feature
top

Version Information (please complete the following information):

  • OS and OS Version/extra details: [e.g. Windows, Linux, macOS]
liming@Debian:~$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
liming@Debian:~$ uname -a
Linux Debian 6.9.10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.10-1 (2024-07-19) x86_64 GNU/Linux
  • Eclipse Version from Help -> About [e.g. 2023-09, 4.28]
    Eclipse IDE for C/C++ Developers (includes Incubating components)

Version: 2024-06 (4.32.0)
Build id: 20240606-1231

  • CDT Version from Help -> About -> Installation Details -> Features tab [e.g. 10.3.1, 11.2.0]
    C/C++ Autotools support

Version: 11.6.0.202403071917
Build id: 20240304-1627

Copyright (c) 2012, 2024 Contributors to the Eclipse Foundation

Additional context

@jld01
Copy link
Contributor

jld01 commented Jul 31, 2024

Possibly related to #835. Is this issue observed with CDT 11.6.1?

@jonahgraham
Copy link
Member

@fireflyming You can verify that you are hitting the same issues as #835 by doing prlimit --nofile -p <PID OF eclipse> - if the number of files is very high then you are suffering from the same bug. Please run check for updates and update to CDT 11.6.1.

If, for whatever reason, you cannot update to CDT 11.6.1, you can change the limit with prlimit --nofile=1024:1048576 -p <PID OF eclipse> or change it for the system with echo 1048576 > /proc/sys/fs/nr_open

Please let us know if that resolves your issues or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants