For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 28 replies, 5 voices, and was last updated 20 years, 2 months ago by
dionic.
-
AuthorPosts
-
anchormenMemberI’m using Eclipse 3.1.0 and MyEclipse 4.1.1
When i’m editting a jsp file (classic editor or JSP designer) everything i do: type a character, use code-completion, open or save a file, anything at all, my pc hangs at 100% cpu load for about 5 seconds. This is really annoying, worse, un-useable. I upgraded from MyEclipse 3.8.2 two weeks ago, and this morning from 4.0.3 to 4.1.1. In 3.8.2 i had no trouble at all, but both 4.x versions have the same problem.
Should i reinstall? Or is this a know issue?
March 10, 2006 at 10:19 am #248289
Riyad KallaMemberCan you paste the result of MyEclipse > about > Configuration Summary?
Also, no, this isn’t a known issue as it’s completely intrusive on your work and we would have users rioting.
March 13, 2006 at 4:37 am #248418
anchormenMember@support-rkalla wrote:
Can you paste the result of MyEclipse > about > Configuration Summary?
Also, no, this isn’t a known issue as it’s completely intrusive on your work and we would have users rioting.
Thought so.
I tried defragging my system, rebooting, “-clean”, but still very annoying 100% cpu load spikes with everything i do in “JSP Classic Editor” or “JSP Designer”.
My configuration summary:
*** Date: Mon Mar 13 11:32:54 CET 2006 *** System properties: OS=WindowsXP OS version=5.1 Java version=1.4.2_03 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 4.1.1 GA Build id: 20060228-4.1.1-GA *** Eclipse details: Eclipse SDK Version: 3.1.0 Build id: I20050627-1435 Eclipse Platform Version: 3.1.0 Build id: I20050627-1435 Eclipse RCP Version: 3.1.0 Build id: I20050627-1435 Eclipse Java Development Tools Version: 3.1.0 Build id: I20050627-1435 Eclipse Plug-in Development Environment Version: 3.1.0 Build id: I20050627-1435 Eclipse Project SDK Version: 3.1.0 Build id: I20050627-1435 Eclipse startup command=-os win32 -ws win32 -arch x86 -launcher C:\Data\Eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata 5c0_58 -vm C:\WINDOWS\system32\javaw.exeMarch 13, 2006 at 8:31 am #248427
Riyad KallaMemberTry editing your command line or eclipse.ini file and adjusting your startup parameters to be something like this:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.htmlMarch 13, 2006 at 8:48 am #248434
anchormenMember@support-rkalla wrote:
Try editing your command line or eclipse.ini file and adjusting your startup parameters to be something like this:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.htmlNo effect. I changed my “eclipse.ini”, restarted, opened a .jsp file and added a html remark: 100% load, even without saving the file.
Memory usage isn’t that high anyways. After an hour or two working it’s about 125Mb.
Maybe i have some setting wrong? I already disabled all MyEclipse Validation options for the project. Btw, i just found out it’s project specific. I tried editting a couple of .jsp files in 3 other projects: no trouble at all. Only mu current project i having this problem.
March 13, 2006 at 8:58 am #248442
Riyad KallaMemberIs your troubled project in soruce control? Try and create a new workspace, then check the project back out into the new workspace and edit it, does it work or still peg CPU?
March 13, 2006 at 10:03 am #248449
anchormenMember@support-rkalla wrote:
Is your troubled project in soruce control? Try and create a new workspace, then check the project back out into the new workspace and edit it, does it work or still peg CPU?
Exported to a new project, checked out the current and the new project to a new workspace. In all 3 cases the same result.
Must be something in this project. Maybe some specific jar or other library? It is a webservice client project, using Axis. No database, Hibernate, EJB’s, just Spring, Axis and Maverick.
March 13, 2006 at 10:33 am #248455
Riyad KallaMemberHow many JARs? DO you have any huge JARs in your build path? How many files in this project? How large is the JSP you are editing? How taglib heavy is the page?
March 14, 2006 at 2:36 am #248500
anchormenMember@support-rkalla wrote:
How many JARs? DO you have any huge JARs in your build path? How many files in this project? How large is the JSP you are editing? How taglib heavy is the page?
I traced the problem to a single JAR. We use XMLBeans to translate some half-baked company xml data to Java objects. This JAR is 4Mb. Removing it from the build path eliminates the problem. Adding it to another project introduces the problem for that project.
Removing it from the project is not an option, i need the company xml translation classes. So i need a solution for working with some large JAR in the MyEclipse JSP Editor, or a better way to generate and translate some xml document to java 😉
March 14, 2006 at 7:36 am #248512
Riyad KallaMemberCan you upgrade the XMLBeans library to the latest version or down grade it one version to simply see if it’s something with the actual JAR you have? (Heck, even try redownloading it and see what happens). If that doesn’t help, please tell me exactly what version you have, so I can go get it, and how to see the issues you are having (create a simple JSP and just start typing in it? Try and use autocomplete? Try and use the designer? etc.)
March 14, 2006 at 8:18 am #248520
anchormenMember@support-rkalla wrote:
Can you upgrade the XMLBeans library to the latest version or down grade it one version to simply see if it’s something with the actual JAR you have? (Heck, even try redownloading it and see what happens). If that doesn’t help, please tell me exactly what version you have, so I can go get it, and how to see the issues you are having (create a simple JSP and just start typing in it? Try and use autocomplete? Try and use the designer? etc.)
The XMLbeans JAR is not causing the problem. The generated JAR for our company data xml is causing it. XMLBeans can generate Java classes representing xml data. This JAR is 4Mb and contains 5000 classes. When i add or remove this jar the probleem appears and disappears.
The “normal” java editor doesn’t have any problem in this project, only the MyEclipse JSP editors. I could send you the generated jar file for testing.
March 14, 2006 at 8:21 am #248521
Riyad KallaMemberThe XMLbeans JAR is not causing the problem. The generated JAR for our company data xml is causing it. XMLBeans can generate Java classes representing xml data. This JAR is 4Mb and contains 5000 classes. When i add or remove this jar the probleem appears and disappears.
The “normal” java editor doesn’t have any problem in this project, only the MyEclipse JSP editors. I could send you the generated jar file for testing.
Ahh, sure send it along. Also please answer my questions about specifically what the “problem” is:
please tell me exactly what version you have, so I can go get it, and how to see the issues you are having (create a simple JSP and just start typing in it? Try and use autocomplete? Try and use the designer? etc.)
Sometimes folks will think it’s abundently clear, so I’ll load up their project, edit just fine and say it works and then find out the problem was pertaining to autocompletely taglibs, even though it was never mentioned. So just give me steps to cause the editor to suck and I’ll see what I can find.
March 14, 2006 at 8:46 am #248524
anchormenMember@support-rkalla wrote:
The XMLbeans JAR is not causing the problem. The generated JAR for our company data xml is causing it. XMLBeans can generate Java classes representing xml data. This JAR is 4Mb and contains 5000 classes. When i add or remove this jar the probleem appears and disappears.
The “normal” java editor doesn’t have any problem in this project, only the MyEclipse JSP editors. I could send you the generated jar file for testing.
Ahh, sure send it along. Also please answer my questions about specifically what the “problem” is:
please tell me exactly what version you have, so I can go get it, and how to see the issues you are having (create a simple JSP and just start typing in it? Try and use autocomplete? Try and use the designer? etc.)
Sometimes folks will think it’s abundently clear, so I’ll load up their project, edit just fine and say it works and then find out the problem was pertaining to autocompletely taglibs, even though it was never mentioned. So just give me steps to cause the editor to suck and I’ll see what I can find.
I tried sending the file, but maxsize is 2Mb and the file is 4Mb 🙂
I narrowed it down. It seems files where scriptlets are used are affected.
<html> <body> Hell... </body> </html>No trouble.
But
<% String x; %> <html> <body> Hell... </body> </html>equals 100% cpu load …..
March 14, 2006 at 9:47 am #248543
Riyad KallaMemberOk I got your JAR, created a new web project, created a new JSP using the default Template (note that it includes the basePath String in the scriplet at the top) and edited it, works fine. Then I dropped your JAR into the lib folder, MyEclipse auto-mounted it and I reopened the MyJsp.jsp file and went to editing it, everything worked fine. Typing in plain text, creating tags, creating more scriplets to print out the value of basePath, writing some quick substring code.
Here is my setup:
*** Date: Tue Mar 14 08:45:43 MST 2006
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060228-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.2
Build id: M20060118-1600Eclipse Platform
Version: 3.1.2
Build id: M20060118-1600Eclipse RCP
Version: 3.1.2
Build id: M20060118-1600Eclipse Java Development Tools
Version: 3.1.2
Build id: M20060118-1600Eclipse Plug-in Development Environment
Version: 3.1.2
Build id: M20060118-1600Eclipse Project SDK
Version: 3.1.2
Build id: M20060118-1600Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Documents and Settings\Riyad\Desktop\New Folder (2)\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
1fc_38
-vm
C:\WINDOWS\system32\javaw.exeAnd I’m using the default eclipse.ini file with this one, so no special perm size settings. Do you see differences in our setup that might explain this? I absolutely agree with your email a 4mb JAR shouldn’t effect the editor at all, you only run into performance problems with the autocomplete parser when you have 75mb+ worth of JARs on the build path, otherwise it should be fine.
March 14, 2006 at 9:52 am #248544
anchormenMember@support-rkalla wrote:
Ok I got your JAR, created a new web project, created a new JSP using the default Template (note that it includes the basePath String in the scriplet at the top) and edited it, works fine. Then I dropped your JAR into the lib folder, MyEclipse auto-mounted it and I reopened the MyJsp.jsp file and went to editing it, everything worked fine. Typing in plain text, creating tags, creating more scriplets to print out the value of basePath, writing some quick substring code.
Here is my setup:
*** Date: Tue Mar 14 08:45:43 MST 2006
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060228-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.2
Build id: M20060118-1600Eclipse Platform
Version: 3.1.2
Build id: M20060118-1600Eclipse RCP
Version: 3.1.2
Build id: M20060118-1600Eclipse Java Development Tools
Version: 3.1.2
Build id: M20060118-1600Eclipse Plug-in Development Environment
Version: 3.1.2
Build id: M20060118-1600Eclipse Project SDK
Version: 3.1.2
Build id: M20060118-1600Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Documents and Settings\Riyad\Desktop\New Folder (2)\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
1fc_38
-vm
C:\WINDOWS\system32\javaw.exeAnd I’m using the default eclipse.ini file with this one, so no special perm size settings. Do you see differences in our setup that might explain this? I absolutely agree with your email a 4mb JAR shouldn’t effect the editor at all, you only run into performance problems with the autocomplete parser when you have 75mb+ worth of JARs on the build path, otherwise it should be fine.
Mmmm, i see 2 noticeable differences: Java version and Eclipse version. I’ll try upgrading my Eclipse version very soon. First gotta get this deadline monkey off my back.
Also i’ll check out some of my teammembers, maybe it’s my pc? I’ve had a pc with a faulty harddrive cause some strange problems in the past.
-
AuthorPosts
