- This topic has 21 replies, 4 voices, and was last updated 19 years, 5 months ago by
Riyad Kalla.
-
AuthorPosts
-
hayedidMemberPlease help!
My computer is freezing for about 40 seconds whenever code completion starts. I am running the latest versions of Eclipse and MyEclipse. I also have WebLogic 9.1 installed, but this happens even if the server is not started.
For example,
I want to type:
System.out.println(“Hello”);
I type in System
The instant I hit the “.” (period), my PC freezes for about 40 seconds. Any ideas would be appreciated… I can’t get any work done.
Thanks!
February 10, 2006 at 7:48 pm #246561
Haris PecoMemberhayedid,
If you have troubles with Java editor, then it’s eclipse, but no MyEclipse problem
However, i advice that you start empty workspace (set option when call eclipse
-data -<NEW_DIRECTORY_IN_YOR_FILE_SYSTEM>), make simple project and test your problemWhat is your version Eclipse and MyEclipse ?
February 13, 2006 at 9:21 am #246652
hayedidMemberEclipse:
Version: 3.1.2
Build id: M20060118-1600MyEclipse:
Version 4.1I’ve started with a -clean and also tried an empty workspace. These do not resolve the issue.
February 13, 2006 at 9:46 am #246653
Haris PecoMemberhayedid,
Have you yet another plugins in eclipse (except MyEclipse) and what machine you have (processor, memory), please
Best
February 13, 2006 at 10:12 am #246655
hayedidMemberThe only plug-in I have is MyEclipse.
I have an HP xw4300 Workstation.
Pentium(R) Dual Processor 3.2Ghz
1.00 GB of RAMThank you.
February 13, 2006 at 10:45 am #246657
Haris PecoMemberhayedid,
It’s strange.Java editor is from eclipse distribution (it isn’t MyEclipse problem).
Do you have much projects with big sources and a lot libraries ?Best
February 13, 2006 at 10:59 am #246658
hayedidMemberWhen I started with a new workspace, the project I have is very small (21K Compiled). It is the only project in my workspace. I even tried completely reinstalling windows eclipse and myeclipse. This gave me a clean workspace. The problem still occurs.
February 13, 2006 at 11:09 am #246661
Haris PecoMemberhayedid,
I work on much slower machine and with big workspace, but haven’t such problems
What is your JDK (eclipse work with own compiler, but search JDK for source) ?
best
February 13, 2006 at 11:22 am #246662
hayedidMemberUnder Windows / Preferences / Java / Installed JRE’s, there are three listed:
c:\Program Files\Java\jre1.5.0
c:\bea\jrockit90_150_04
c:\bea\jdk150_04I have tried switching among each of these, but it didn’t make any difference.
February 13, 2006 at 11:44 am #246664
Haris PecoMemberTry download jdk from sun and execute eclipse with ‘-vm <path to sunjdk>’
your problem is probably bea’s jdk/jre – your path after -vm can show to java executable (no JAVA_HOME or bin)
It is $JAVA_HOME/bin/java on linux and $JAVA_HOME/bin/javaw.exe (java.exe, i don’t sure) on windowsbest
February 13, 2006 at 12:09 pm #246667
hayedidMemberI’ve disabled the ‘Code Assist’. This has hidden the issue (I’ll certainly miss the code assist).
I tried the -vm argument with a SUN JDK. Didn’t make any difference.
Thank you for your help.
February 13, 2006 at 12:27 pm #246669
Haris PecoMemberyou have bea jdk and sun jre, probably
do you download sun jdk, now and what are you set after -vm (if you type wrong system start with default jdk/jre)your machine have to work perfect
best
February 13, 2006 at 12:42 pm #246670
Riyad KallaMemberMoving to OT > Soft Dev
February 13, 2006 at 1:48 pm #246675
hayedidMemberPraise God! I finally figured it out. I had to start Eclipse with the following parameters:
C:\eclipse\eclipse.exe -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M
Thank you for all your help!
February 20, 2006 at 3:32 am #247044
rawlingMemberI have just started to learn Java; as such, I have fresh installs of (pretty much) the latest release of the Sun JDK and JRE and of Eclipse (no MyEclipse; I’m hoping that doesn’t bother you 🙁 )
Anyway, I have this exact same issue, a temporary freeze a little while after the Code Complete list comes up. However, the command line parameters make no difference to this for me. Anybody have any ideas about this? -
AuthorPosts