LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-20-2005, 12:23 PM   #1
TiMDoR
LQ Newbie
 
Registered: Oct 2003
Location: The Western Republic of Alberta
Distribution: Fedora Core 3; Knoppix
Posts: 11

Rep: Reputation: 0
Eclipse memory leak?


just curious if it's just me or not, but when i'm doing java coding using eclipse it seems that the damned bastard slows down the entire machine the longer you use it during a single session regardless of how many classes/packages you've got open.

i ask because my machine was running pretty slowly and aside from my usual cursing that i need more ram, just on a hunch i looked to see how many tasks were running and there were no less than six, count 'em 6 javaw.exe running on top of the javaw.exe that eclipse was actually running on/working with and i was only working on 3 different classes at the time.

and if anyone had/has experienced this, did they come across a way to prevent this from happening? it's happened to me both at school on a win machine and at home under FC3...

i'll go ahead and apologize now if there's another thread about this that i missed... especially if some helpful soul immediately finds a solution on that damned wiki of theirs...
 
Old 04-21-2005, 01:23 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Perhaps is it time for you to switch ...

http://cld.blog-city.com/read/1126337.htm
 
Old 04-21-2005, 07:46 AM   #3
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: OpenSuse Tumbleweed
Posts: 288

Rep: Reputation: 39
Too bad, I really like the Eclipse interface better. However, I know what you mean about slow... On my way underpowered home computer (P-233, 64MB RAM), it took 30 minutes just to create a new project. After it finished that task I closed it and deleted it :-) I wrote my code in notepad instead... I'm afraid to try NetBeans, but it can't be as bad?
 
Old 04-21-2005, 09:17 AM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Come on, guys! You expect to work with java with 64 MB of ram?

I couldn't work with Forte FOUR years ago with that much (or should I say little) ram. How can you expect to run eclipse nowadays?
 
Old 04-21-2005, 09:20 AM   #5
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: OpenSuse Tumbleweed
Posts: 288

Rep: Reputation: 39
Quote:
Originally posted by eantoranz
Come on, guys! You expect to work with java with 64 MB of ram?

I couldn't work with Forte FOUR years ago with that much (or should I say little) ram. How can you expect to run eclipse nowadays?
Java itself works great with even less RAM than that, it's just the bloated IDE's :-) Writing the code, compiling, running works fine, just do it the old fashioned way!
 
Old 04-21-2005, 09:31 AM   #6
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
The GUI is great for a system with more resources, but features like realtime compiling for example would be slow on a older system.
 
Old 04-21-2005, 09:33 AM   #7
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Well.... I can certainly accept that you can program in notepad with just 64 mbs of ram.... but I bet you could be more productive with an IDE... however, you have to get more ram, for sure.

I have used eclipse with 128 mb, 256 mb, 384 mb, 512 mb. I personally use it to create EJBs and a web application. But I would hate to do it with less than 512 mb... but don't you dare asking me how I'd hate it if I had to write the whole project with notepad. (just swithing to windows in order to use notepad would be enough to make me cry :-))
 
Old 04-21-2005, 09:51 AM   #8
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: OpenSuse Tumbleweed
Posts: 288

Rep: Reputation: 39
Quote:
Originally posted by eantoranz
(just swithing to windows in order to use notepad would be enough to make me cry :-))
OK, you're allowed to use vi
 
Old 04-21-2005, 06:35 PM   #9
TiMDoR
LQ Newbie
 
Registered: Oct 2003
Location: The Western Republic of Alberta
Distribution: Fedora Core 3; Knoppix
Posts: 11

Original Poster
Rep: Reputation: 0
yeah, i really come to like how eclipse works/looks/yadda yadda yadda, but it's becoming too much of a love hate relationship than it's worth...

hell, if i've got eclipse running and decide to open something else up, everything comes to a grinding halt and thats with an athlon 3200xp and 512mb ram... you'd THINK that would be more than enough...

apparently not... i think that i will have to give netbeans a whirl...

at least it's not just me...
 
Old 04-21-2005, 10:19 PM   #10
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Well... I can't speak for you, but I work with eclipse on a 1 Ghtz P3 with 512 MB of ram. I won't say it's FLASH, but I certainly don't waste my time waiting for the IDE.

Last edited by eantoranz; 04-21-2005 at 10:21 PM.
 
Old 04-21-2005, 10:23 PM   #11
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Perhaps your windose computer is wasting too much CPU time on the antivirus?
 
Old 04-21-2005, 10:53 PM   #12
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
i was using eclipse before and i switched back to netbeans while thinking about vim or emacs/jde or jedit.

*eclipse is becoming very very slow. on a 1.8ghz 256MB RAM it is freezing the system on a regular basis(might be a stupid thread running all the time)

* on a 3ghz 512MB RAM, it is more usable but still slower than netbeans.

well, i need java to keep bringing the food on the table but java is getting on my nerves...

eclipse is good because of the plugins and IBM pushing it, SUN don't know a damn thing about marketing.

with 64mb of ram, i wouldn't even install X or just fvwm/fluxbox and few tk/tcl applications, ... no java apps...
 
Old 04-21-2005, 10:59 PM   #13
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
I would say that was the bottom line.
 
  


Reply



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
memory leak ? os2 Programming 1 05-19-2005 01:45 PM
Possible Memory Leak liquidcool Linux - General 3 10-07-2004 08:38 AM
memory leak mdk Mandriva 1 09-17-2004 10:54 AM
Memory Leak don_dimo Linux - General 7 03-06-2004 06:51 PM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:09 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