facebook

Copy line in JSP editor very slow [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #214748 Reply

    When I do a copy line (Ctrl+Alt+Down) in the JSP editor, the editor hangs for some seconds.

    /Jeff, Atira.dk

    #214785

    Riyad Kalla
    Member

    Jeff, I was able to reproduce this quickly, thank you for the detail.

    #219496

    cranberyXL
    Member

    Did this ever get fixed? I’m running 3.8.2 and it still hangs when I do a Ctrl-Alt-Down Arrow

    #219501

    Riyad Kalla
    Member

    Its actually not a hang, after investigation we figured out that actions executed by shortcut in ANY of the WTP editors have a ‘lag’ associated with them until the editor invalidates and repaints the line… some (like the XML editor) seemingly never perform the action until you close/reopen the file. The underlying execution of shortcuts in the editors needs to be fixed up, and until then this functionality in general will seem buggy… we appologize for the delay but will get around to this soon (not for 3.8.3 though as our plate is beyond full for that release).

    #219544

    henk
    Member

    Is this bug related to the one where a regular CTRL-C copy gets slow after a while in the JSP editor?

    (when this bug happens, a CTRL-C is extremely slow or just doesn’t want to work at all. Closing the editor frequently at the first sign of overall slowelyness usually seems to help. For full system specs see my previous posts, but a small recap: Win2k, Eclipse 3.01, MyEclipse 3.8.2QF2-all validation off, JDK 1.4.2)

    #223778

    Riyad Kalla
    Member

    Fixed in 3.8.4.

    #227685

    spui
    Member

    @support-rkalla wrote:

    Fixed in 3.8.4.

    We’re still seeing this problem in 3.8.4, when CTRL-C or any CTRL function for copy or cut or paste, the JSP editor gets slow and eventually just freezes and javaw process has to be killed.

    XP, Eclipse 3.01, MyEclipse 3.8.4, all validation off, JDK 1.4.2

    Turned HTML and JSP validation on to see if that will resolve part of the issue. Cutting, copying, or pasting with the menu works fine, it only appears to happen when using the CTRL keys.

    #227689

    Riyad Kalla
    Member

    What is the full version of JDK being used to run MyEclipse? (java -version)

    #227698

    spui
    Member

    JDK is 1.4.1_02-b06

    #227699

    Riyad Kalla
    Member

    ok this is the first thing I would definately suggest no matter what else you do today:
    1) Go download JDK 1.4.2_07 from Sun, install it
    2) Edit the shortcut you use to start Eclipse and add the -vm command line argument and point directly at the javaw.exe executable under the JDK 1.4.2_07 directory, something like this:

    
    c:\eclipse\eclipse.exe -vm c:\j2sdk1.4.2_07\bin\javaw.exe -vmargs -Xmx256m
    
    #227714

    spui
    Member

    We will try this. However we are already starting Eclipse with -vmargs -Xms768m -Xmx786m but will try your suggestions today and let you know. What interesting is that this user didn’t have any problems until we loaded sysdeo tomcat plugin and setup tomcat to run inside eclipse with myEclipse. We’ve been using that SDK forever and had no problems with slow downs.

    #227727

    Riyad Kalla
    Member

    Why did you need to install Sysdeo, was the Tomcat connector in MyEclipse not working properly?

    #227753

    spui
    Member

    We didn’t have success configuring it for our environment. We are still having the problem even with the new jdk. In fact the user is becoming exceedingly frustrated with this. The activity bar is doing something, updating outline, and it freezes consistently as well. I had her defrag, upgrade to all the latest, etc. Any ideas?

    #227758

    Riyad Kalla
    Member

    First a little sanity check:
    1) Load up MyEclipse
    2) File > Switch Workspace > C:\tempworkspace (delete this later)
    3) Let MyEclipse restart
    4) Create a new project with a JSP page in it, copy and paste. Did that work OK? If so, switch back to your old workspace and try this tip: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#343

    If not, continue to next test:

    I would suggest doing a parallel sanity-check install:
    1) Redownload Eclipse SDK 3.0.2, unzip it to C:\eclipse-3.0.2
    2) Redownload MyEclipse 3.8.4, install it to C:\myeclipse-3.8.4 and point at the Eclipse install from step #1
    3) Open it, edit a JSP page, does it work?
    4) If that did work, go redownload Sysdeo and install it, now open that same JSP page back up, is copy pasting screwed up again?

    #232487

    Andy Bentley
    Member

    We are experiencing the same issue.
    Long lags in the JSP editor (after 1-2 min of editing) any Ctrl-C, Ctrl-V or autocomplete pegs the CPU utilization for 7-12 seconds.

    Env :
    Java 1.5_03
    Eclipse 3.1
    myEclipse 4-1.0M2_E3.1
    This happens on Suse and Windows XP.

    Andy Bentley

Viewing 15 posts - 1 through 15 (of 20 total)
Reply To: Copy line in JSP editor very slow [Closed]

You must be logged in to post in the forum log in