Are you talking about regular Java code or something else, for example XML?
Eclipse by default tries to validate XML, and sometimes it tries to download DTD or XSD files from Internet to do that, and that can sometimes take a long time.
I'm just writing regular Java code but that is what it takes a long time to validate. I misspell a variable or something and then it gives me the red underline goes hourglass often for more than a minute. I'm thinking if I could turn off some kind of code validation that it does, I could run a lot faster.
Try upping the -Xmx value as a sanity check, like to 1024m. I've run Eclipse (3.3, anyway, maybe 3.4) on a P4 w/ not a lot of RAM and never saw behavior like that.
Joe Adams
Greenhorn
Joined: Aug 26, 2009
Posts: 5
posted
0
It'll let me go up to 768m, but it won't start if I do 1024. I also took a nature added to my .project for some proprietary sdk I'm using. I'll report back if I have any major breakthroughs.
Okay. Since my problem was always caused by Eclipse looking for errors, I did the following and it seems to be helping.
I went Window>Preferences. I followed the side menus Java>Editor>Content Assist. From there I unchecked Enable auto activation, which is near the bottom.
Now it doesn't try to help me find errors unless I click on the red lines. Of course, since it was just giving me an hourglass for minutes and never actually suggesting solutions, this is preferable.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.