I have a problem with my NetBeans. I have asked this question over at NetBeans forum but no one came with an answer. My problem is that everytime I hit enter after writing a bit of code, for example, System.out.println(); and then everything freezes for a second.
This happens all the time. This lag spike/freeze also happens when I write a DOT(.) after something like System.(DOT) then it freezes for a second. This makes NetBeans unusable. I'm running the latest Java at 64-bit and the latest JDK. I have reinstalled the program 2 times and nothing helps. Any idés?
Thanks in advance!
Related
Is there a way to identify what's going on with Eclipse when a file is saved?
My eclipse runs extremely slow (takes close to 3 minutes to save a file). Simple addition of a space in a file and save, it keeps saying 'Updating Navigator Content Viewer' and 'Remote System Explorer Operation' and simply freezes.
I am running on a powerful system with 16 gigs of ram and assigned 1 gig for eclipse. The way it performs is simple unacceptable and planning to switch all my projects to NetBeans rather than wasting hours on save.
Any hints on fixing this are appreciated.
Finally resolved the issue by getting rid of Eclipse.
Moved all my projects to NetBeans 8.2. Its a big relief to see my projects getting saved in a split second.
Coming to Eclipse, it is powerful and exceptional on all aspects other than the slowness during save. However, this frustrating issue alone makes me rate Eclipse 1 (may be 0) on a scale of 10. Cannot expect a developer to wait for 2 minutes to save a file (on a 16 gig system, with 4 gigs assigned to Eclipse) which would drag the productivity drastically.
Looks like this issue is not something new as I have seen many posts on various forums regarding the same. I don't understand how Eclipse never gave a thought on this slowness issue.
First you should try to look at this post so:
Check if it is the latest version (I personally run Neon 4.6 and it takes about 2 minutes to parse and save a 55MB file)
Check your JDK/JRE
You should also try to see if it doesn't come from your drive...
If you still have the problem, I suggest you look at the other Eclipse versions (Mars...)
After last Ubuntu 14.04 kernel update (current one: 4.4.0-36-generic) when I open Eclipse (Luna) in a matter of few seconds it closes or freezes and then closes (I can be simply editing a comment, or even stop typing for some seconds and then it happens, so I think it can't be related to the code itself).
I personally prefer when it freezes first, so it gives you some seconds to mentally prepare of what is about to happen with your last-hour work.
No clue on system.log or /.../my_workspace/.metadata/.log of what is happening.
Where could I look to try to understand what is happening?
Is it possible that Eclipse closes without leaving any clue/crash-report of why is it doing that?
After trying a lot of possible solutions because Eclipse was crashing every 10 minutes I've found this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=465693
According to this bug report it is not an Eclipse problem but an Eclipse-JRE relationship problem.
Since I've modified several lines in eclipse.ini I cannot be sure about the solution, but it seems it was adding this line on it:
-XX:-UseLoopPredicate
I've been without crashes for more than 1 hour so far. However I'll wait at least one or two days before assuming this solution really works.
EDIT/UPDATE: Confirmed; it works like a charm.
Whenever eclipse crashes you will get hs_err_pid4612.log this kind of file
inside eclipse folder.
For fixing this issue :
Add this to eclipse.ini file:
-Dorg.eclipse.swt.browser.DefaultType=mozilla
I have had this problems for a couple of times but usually could solve it by an update. However, this fix does not work for me anymore.
Actually, two problems here:
The minor one: I have osX 10.8.3 and Eclipse Juno (M20130204-1200) installed. Since a good amount of time, it takes eclipse ~ 4-5 minutes to start up for the first time after the system start. Once it was closed and is re-opend again, it starts up quick. I think this problem came since apple started to mess around with the JRE? Does anybody also experienced this delay? Could it be that one of the installed plugins checks for updates and causes the delay?
The major one: after eclipse is fully up & running, I can not open .py files anymore. When I open my pydev project (btw. pydev 2.7.3), eclipse freezes and I need to kill the whole thing and restart. -> I can not use it for python coding anymore, which is my primary task...
Suggestions? Re-install eclipse maybe?
Thank you for suggestions,
El
Can't really comment on #1, but for #2, can you try attaching jvisualvm to see what's going on there? (and create a thread-dump and post it somewhere so that I can take a look at it).
I'd ask you to create a bug-report for that, but the new tracker is still not up (I hope I'm able to put it up right after the funding at http://igg.me/at/liclipse is finished).
The problem was resolved by following these steps. They essentially disable one
JRE.http://support.apple.com/kb/HT5559?viewlocale=en_US
I am using Eclipse for Java development. I have a number of plugins (Maven, Subversive, JBoss reverse Engineering tools, etc), and the system seems to hang fairly consistently, to the point where it can be 10-20 seconds from a mouse click until it responds. I have given it a gig of memory in the configuration, and it is not even using half of that. When it hangs, it completely pegs one of the processors, and I see large numbers of Page File Deltas.
Is there any way to see what is happening inside Eclipse? Which plugin could be causing the problem?
I believe (although I am not positive) I am running Eclipse 3.5.2. I am running on Windows XP, SP 2 or 3 (I do not manage the machine, my company does, so I am not positive how up to date it is).
First, the one plugin that can help investigation this would be MAT (Memory Analyzer).
Full tutorial at Vogella.
Second, make sure to use an optimized eclipse.ini launched with the latest JDK (6u22) and check if the issue persists then.
I've been using Aptana for some time now, and as of recent I've been dealing with files that are really, really big (500+ lines of code, which is huge for me, being a novice developer). Whenever I deal with smaller files, I get that weird sensation that I'm "in front of" what's typing, but now I'm quite sure of it--there is a significant lag between when I type something and when I see the text appear on screen. I don't have this issue with Dreamweaver CS3, so I know my computer has the capability to edit these files without this happening, but Eclipse still lags.
I also don't see when something is being deleted if I hold down backspace, I see the first few characters get deleted, but then everything "hangs." Once I release the backspace key, the characters that would've been shown deleting instantly vanish all at once. The same thing happens with the forward delete key.
I'm beginning to think this is an issue with Java, since I have the same feeling that everything is slightly "behind me" when I'm using -any- Java application.
The computer is an intel Pentium 4 3.2 GHz Prescott, with 2GB's of DDR400 RAM and a Radeon HD3650 graphics card.
If anyone knows how to fix this lagging issue, I'm all ears (eyes?); if anyone can recommend a different IDE with capabilities similar to Aptana (I do Python, HTML, CSS and JS; I use Git for SCM), I'd be glad to give it a try. Thanks!
I'm running a brand new iMac i5 with 8GB RAM and an SSD and Eclipse is slow as hell. I don't know if upgrading your machine is really the solution to your problem.
In my case Aptana also was very slow while typing, and it helped to choose
Eclipse > Help > Aptana Troubleshooting > Clear Aptana Log File ...
I bet You have default amount of memory assigned to Eclipse in eclipse.ini file - go there and increase those values 2-3 times. Eclipse will work much faster.
Aptana is a great software, but you're facing one of it's disadvantages: it's a memory hog.
I'm using Aptana in a 4gb machine, but I remember having the same lags using the same configuration in your example.
If you can't live without Aptana (and Eclipe plugins), I suggest you to buy more RAM and use a HD that's at least 7200 RPM. I'm running in a Vista Machine and it works flawlessly.
If you can live without Aptana, check other Python IDE's in "What IDE to Use for Python" question right here in SO.
My 2 cents: I've used PyScripter for Python, and it's great. PyScripter with notepad++ is a good and fast choice.
Good luck!
I'm using the most recent version of Aptana (3.1.3.201205292243) and had this exact same problem. Increasing the memory allotments did nothing for me. The problem goes away, however, if I turn off the Word Wrap option in the editor.
This is found in:
Window->Preferences->Aptana Studio->Editors->Enable Word Wrap
I know, it's a stupid fix, but it works. :)
Luck, everyone!
I have the exactly same problem. Eclipse with Aptana Studio installed is really slow and not usuable for developing. Increasing the memory did not help at all. But what actually help (at least as far as I can tell until now), was to delete the Aptana log files as migg proposed.
(Eclipse Juno, Aptana Studio 3, OS X 10.8.2, Macbook Pro Retina)