- This topic has 29 replies, 11 voices, and was last updated 14 years, 5 months ago by support-joy.
-
AuthorPosts
-
tpsalvatoreMemberDear Support,
I’m experiencing a strange issue using MyEclipse 7 on Win Vista.First of all I’m running MyEclipse as administrator (otherwise it is extremely slow).
The problem is:
when I use visual jsf designer with xhtml pages and type something like#{myBeanName.something}
as I type the dot it takes a lot (really a lot and not only the first time I do it) of time to autocomplete bean properties.
I can’t fix this issue, I’ve tryed modifying startup parameters but the problem is still there.
here are my actual startup parameters:
-startup
../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
–launcher.library
../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731
-clean
-configuration
C:\Users\Sasa\AppData\Roaming\Pulse\MyEclipse 7.0\configuration
-vm
C:\Users\Sasa\AppData\Roaming\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
-vmargs
-Xmx512M
-Xms512M
-XX:PermSize=128M
-XX:MaxPermSize=512MThanks in advance,
Kind Regards,
Salvatore Ciaramella
Loyal WaterMemberSalvatore,
I have some questions for you:-
1. Do you have JSF capabilities added to you project ?2. If you go to Project > Properties, do you see a “JavaScript” node under “MyEclipse” ?
3.How big is the project that you are working with? How many JSF pages does the project have and how big is the faces-config.xml?
We are looking at ways of improving performance and this information will help us with it.
tpsalvatoreMemberDear nipun,
here are the answers:1)Yes I have added JSF+ICEFaces+Hibernate capabilities to my project
2)Yes I see the Javascript node (this have been added when I choose to add the new MyEclipse Javascript support, I think)
3)Tha’t not a really really big project. To be more clear I have about 20 JSF pages, 13 packages (at least 13 classes inside each package), and the faces-config is about 50 lines of code.
It doesn’t seem to me a so called “big project”. Furthermore even If I have to wait almost 60-90 seconds (or more!!!) the first time I try to autocomplete a method for a bean, it’s not reasonable to wait the same if (without leaving the page) I go on another line and try to autocomplete a method for the same bean…
It seem to me you have troubles buffering (or you re-create index every time?) the result of the created index of methods, am I wrong?
Could it be related to my heap memory settings?
Sorry for the long post, I’m trying to explain the problem at my best, because this is very annoying…
Thanx in advance,
Salvatore
Loyal WaterMemberSorry for the long post, I’m trying to explain the problem at my best, because this is very annoying…
I appreciate you taking time out to post this information. I’ll pass this on to the dev team. Thank you for your patience.
tpsalvatoreMemberHi nipun,
Today opening myEclipse, after a bit of work, It prompts me a message complaining about low eden memory space (less than 5%).
It suggest me to change the MyEclipse settings with different ones, but I’ve seen it suggest to me lower settings than the ones I’m actually using…Is it a predefined message? Or for some reaon my startup settings were ignored?
Hope this help you fix the autocomplete problem…
Kind Regards,
Salvatore
Loyal WaterMemberSalvatore,
Thats weird. I’ll let the dev team know about this as well.
HumppaMemberHi,
I’ve got the same problems as tpsalvatore has since I’ve switched from myeclipse 6.0.1 to myeclipse 7.0. Also when I’m editing a really (3300 lines) big javascript file it takes a about 2-3 seconds when I add quotes while editing the code.
Overall myeclipse 7.0 feels much much slower than 6.0.1.
On startup v7.0 begins to build the workspace which takes very long. That wasn’t in 6.0.1.
1. My project also uses JSF and ICEfaces.
2. I see the javascript node in project properties
3. * faces config: 230 lines (7277 bytes)
* more than 100 jsp and xhtml files
* about 70 classes, a lot with less code and some with more than 300 linesMy System:
* OS is Vista64 Business SP1 with all updates installed
* 8GB RAM
* Core2Duo 6600 2,40 GHz/CoreRegards,
humppa
Riyad KallaMemberGuys, we think there is a performance problem either in the JavaScript Development Tools or JSF tools, and we are trying to narrow that down.
Salvatore, would it be possible for you to share your entire project with us? With a delay of 30-60 seconds for autocomplete… that is almost impossible, but if you are seeing that, it will direct us *immediately* to where the hotspot is.
fworsleyMemberI just upgraded from ME6.0.1 to 7.0. My problem is that it is extremely slow completing tag names in XHTML documents.
Specifically, if I type in “<ice:” and ctrl-space to bring up the autocomplete tag name list, it takes a few seconds for the list to appear. The same is true for “<h:” or “<s:” tags.
Even if I don’t hit ctrl-space, typing each character following a “<” takes about one second per character. Once I hit space to move on to the attributes of a tag, then it runs fast again.
Typing characters inside of HTML comment is also extremely slow.
So in summary, the following is very very slow for some reason:
– typing characters between tag opening “<” and first space.
– hitting ctrl-space to bring up tag autocomplete list
– typing characters between <!– and –> in commentsThis is in a project with only the “Web” capabilities. Seam, IceFaces, etc. are included via Maven dependency management.
Riyad KallaMemberfworsley,
If you open the project properties, and go to the MyEclipse node, what icons are lit up? (these indicate the capabilities added to the project) — also do you have a “JavaScript” node under the “MyEclipse” one?
fworsleyMemberHello,
Only the “Web” icon is lit up. There is a Javascript node under “MyEclipse”.
– Frank
Riyad KallaMemberFrank, thank you, that will help us run this down.
tpsalvatoreMemberDear nipun and rkalla,
I’ve solved at least my problems related to startup settings.I’ve installed MyEclipse again giving as path c:\MyEclipse. Now when I change the settings it seems fine
(less memory space errors but this not solve my other problem about the slow autocompletion).I think it’s better to change default MyEclipse installation path.
The problem was related to Vista Virtual “Program Files” folder, in which I can see in particular situations older files than the ones I changed for my configuration.
Souns really strange, but this is not the first time (nor the first program for which) I face this issue on Vista.Please let me know any news about the AutoCompletion issue.
Kind Regards,
Salvatore
Riyad KallaMemberSalvatore,
We think the performance problem might be due to the JSDT tooling — we have a patch going into 7.1 that should improve this.
Riyad KallaMemberUpdate: For anyone interesting MyEclipse 7.5M1 includes a fix for most of the poor performance problems folks were seeing like really slow typing, really slow context menu firing, package-selection, etc.
-
AuthorPosts