facebook

JSF Editor is VERY SLOW

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #273083 Reply

    MirecXP
    Member

    Hi

    when i want to edit a page in the JSF editor, it is very slow. Primitive operations, like deletion of a line, or writing a word leads everytime to freezing for 10 seconds!. This is not usable!

    My PC is P4 3.2GHz with 2GB of memory and eclipse.ini contains:
    -vmargs
    -Xms1024M
    -Xmx1024M
    -XX:PermSize=128M
    -XX:MaxPermSize=256M

    Is this normal or do I have something wrong?

    Kind regards
    Mirec

    *** Date:
    Utorok, 2007, júl 24 10:43:50 CEST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    Eclipse Platform

    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330

    Eclipse RCP

    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20070212-1330

    Eclipse Java Development Tools

    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20070212-1330

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20070212-1330

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330

    Eclipse Graphical Editing Framework

    Version: 3.2.2.v20070208
    Build id: 20070208-1315

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\java\eclipse\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    ec4_d4
    -clean
    -vm
    C:\java\eclipse\jre\bin\javaw.exe

    #273102 Reply

    Loyal Water
    Member

    Can you try using the following settings:-
    -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M

    #273175 Reply

    MirecXP
    Member

    thanks, but do you think that providing four times less of memory for eclipse will speed it ?

    #273177 Reply

    MirecXP
    Member

    sorry, two times 🙂

    #273216 Reply

    Loyal Water
    Member

    If you change you memory settings like I have told you, the VM memory allocation will grow slow instead of allocating max memory in the starting.

    Another thing that you can try it switch to a brand new workspace and try working with a JSF file. Do you still face the same problem ?

    #273226 Reply

    MirecXP
    Member

    In the new project/ws it works well.
    I think the problem is when editing larger JSP (mine pages are >10kB) and with more errors.
    Maybe the problem is in slow validation executed in the background.

    #273234 Reply

    Loyal Water
    Member

    That could be the problem. Have you tried copy pasting your file into the new workspace. Does your old fille work fine in the new workspace ?

    #273391 Reply

    MirecXP
    Member

    I’ve moved the page to new project in a new ws and it is the same problem.
    Normal editing is very slow, i’m adding my ID attributes to every h-tag and i wait a second after each key press (no bugs in the JSP). When there is more bugs, it becomes very very very slow…

    The other problem in JSF editor occurs when adding new or modifying values of existing tag attributes. It reports a bug, although there is no bug. This happen if there is a bug for a while during modifications, but after finish of the tag editing, the bug is not deleted and remains. So I have very often bugs similar to ‘Attribute “” has no value’ although there is a value. If I delete the line, save doc, put the line back, save doc, the bug is removed 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: JSF Editor is VERY SLOW

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