LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2013, 08:44 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
eclipse brings my computer to an almost halt


Hi!

I-m using this computer here at home with eclipse juno. I have noticed that after a while of eclipse usage my computer starts to behave more slowly (the same thing happened with indigo, by the way). i just noticed that when the computer is behaving like this Xorg is at almost 100% and remains like that until it becomes responsive again... but it only happens when I'm on eclipse... and it's not because of lack of memory. I took this from top when one of these episodes was taking place:

Code:
top - 21:38:16 up  1:19,  7 users,  load average: 1,57, 1,35, 1,00
Tareas: 181 total,   1 running, 180 sleeping,   0 stopped,   0 zombie
%Cpu(s): 22,7 us,  5,9 sy,  0,0 ni, 69,6 id,  0,3 wa,  0,0 hi,  1,5 si,  0,0 st
KiB Mem:   4135324 total,  3543676 used,   591648 free,   617620 buffers
KiB Swap:  3952636 total,        0 used,  3952636 free,  1160344 cached
As you can see there's some memory left for it to work, right (591 + 617 + 1160)? I have this same exact distro at my job (kubuntu 12.10 and it's a computer with just 2 GBs of ram at my job) and this doesn't happen.... given that it's Xorg that's apparently causing this I'm wondering if it's the nvidia module (the computer at my job? I don't know what it is exactly but it's not nvidia)? How can I make sure about it?

Thanks in advance.
 
Old 03-04-2013, 05:00 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Hi

Just FYI, I'm running Eclipse Juno on my notebook using an nVidia GPU and it's running fine.
BUT: I have to admit that since I upgraded to Juno when I switch virtual desktop I have to wait for ~1.5 seconds before that the different windows of the IDE are rendered (white window before that) - don't like it but it's not so bad for me to start investigating it.

Perhaps it's due to some file that you have in your workspace? What happens if you move your workspace directory somewhere else and start Eclipse (if you already had a workspace and just upgraded Eclipse).
Otherwise you could probably try to start Eclipse through "Valgrind" and see what the app is doing (beware - it will be much slower if you start it through Valgrind)?

Cheers
 
Old 03-04-2013, 06:44 PM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
Look at the 3 attachments. They are 3 screenshots separated by a few seconds during one of this crazy eclipse crawling episodes where you can see top and gkrellm showing the activity. What's most telling (at least to me) is that it's Xorg that's frying the CPU, not eclipse (at least, not the process). Now, right now I have eclipse running just like that. You want me to do something on it so we can see what's going on at a deeper level? I think I'll just send a crtl-Z to eclipse to see what happens. Hope you can come up with something clever for diagnosis.
Attached Thumbnails
Click image for larger version

Name:	eclipse01.png
Views:	23
Size:	247.4 KB
ID:	11999   Click image for larger version

Name:	eclipse02.png
Views:	17
Size:	253.2 KB
ID:	12000   Click image for larger version

Name:	eclipse03.jpg
Views:	16
Size:	174.3 KB
ID:	12001  
 
Old 03-06-2013, 03:06 PM   #4
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Hi

Isn't as well the rest really weird? E.g. Firefox shouldn't use any CPU (if no anim-gifs, javascript & Co are running).
Meaning: I would shut down anything that generates load before focusing on a single app.

Cheers
 
Old 03-06-2013, 03:10 PM   #5
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
Well.... firefox no CPU? Not in my world... not in any computer I've used in the last what? 8 years (cause it was mozilla before and it ate CPU as well)... I guess having JS heavy sites like gmail open all the time don't help but still.

Focusing on one single application: I close eclipse and it goes back to normal. I start eclipse again and it's fine... but after a while of fiddling with my application (it's not 5 minutes.... it could take 20-30 minutes to start lagging past my patience) it's back to crawling. What would you think?
 
Old 03-06-2013, 04:16 PM   #6
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
I'll test what you say of putting all activities to a minimum to see what happens (I'll test if it happens with chromium as well).
 
Old 03-07-2013, 02:58 PM   #7
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Hi
With Firefox I meant that it should usually use just ~0 to max ~8% CPU when not doing anything special and displaying just a few animated gifs of some sites. Not something like 15-25% as in your case.

Sorry, I didn't understand this:
Quote:
I close eclipse and it goes back to normal. I start eclipse again and it's fine... but after a while of fiddling with my application (it's not 5 minutes.... it could take 20-30 minutes to start lagging past my patience) it's back to crawling.
Bye!
 
  


Reply

Tags
eclipse, nvidia, slow


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Metrics plug-in for Eclipse, does it support Eclipse CDT? like2learn Programming 2 04-02-2012 03:13 AM
Eclipse mp3 player model type: ECLIPSE-CL2BLK Bagatelle Linux - Newbie 0 12-25-2009 01:39 PM
LXer: Gentleware Unveils New Apollo for Eclipse and openArchitectureWare Eclipse Dist LXer Syndicated Linux News 0 10-25-2007 09:30 PM
Wireless Slows down computer to a halt ShadowHywind Linux - Wireless Networking 4 07-08-2007 01:36 AM
can't halt the computer Latem Mandriva 10 04-15-2006 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration