- This topic has 7 replies, 2 voices, and was last updated 17 years, 3 months ago by MirecXP.
-
AuthorPosts
-
MirecXPMemberHi
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=256MIs 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 WorkbenchVersion: 5.5.1 GA
Build id: 20070521-5.5.1-GAEclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse 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
Loyal WaterMemberCan you try using the following settings:-
-vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M
MirecXPMemberthanks, but do you think that providing four times less of memory for eclipse will speed it ?
MirecXPMembersorry, two times 🙂
Loyal WaterMemberIf 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 ?
MirecXPMemberIn 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.
Loyal WaterMemberThat 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 ?
MirecXPMemberI’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 🙂
-
AuthorPosts