- This topic has 10 replies, 2 voices, and was last updated 20 years, 2 months ago by Riyad Kalla.
-
AuthorPosts
-
sjonesMember– System Setup ——————————-
Operating System and version: WINXP Pro, SP1
Eclipse version: Version: Version: 3.0.0
Eclipse build id: Build id: 200406251208
Fresh Eclipse install (y/n): y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 7
MyEclipse version: 3.8.1
Eclipse JDK version: SUN 1.4.2_03-b02
Application Server JDK version: SUN 1.4.2_03-b02
Are there any exceptions in the Eclipse log file? No– Message Body ——————————-
I have a Web Enabled Java Project that fails (java.lang.OutOfMemoryError) when performing a clean build.I can watch the build progess and I see errors occuring with the XML validator and then Eclipse dies (IDE interface dissappears, eclipse and javaw tasks are still active).
I get the following message in the eclipse log file.
!SESSION Sep 01, 2004 14:52:22.738 --------------------------------------------- eclipse.buildId=I200406251208 java.version=1.4.2_05 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US !ENTRY com.ibm.etools.validation 4 0 Sep 01, 2004 14:52:22.738 !MESSAGE *** ERROR ***: Wed Sep 01 14:52:22 CDT 2004 java.lang.OutOfMemoryError !ENTRY com.ibm.etools.validation 4 0 Sep 01, 2004 14:52:24.981 !MESSAGE *** ERROR ***: Wed Sep 01 14:52:24 CDT 2004 java.lang.OutOfMemoryError !ENTRY com.ibm.etools.validation 4 0 Sep 01, 2004 14:52:31.420 !MESSAGE *** ERROR ***: Wed Sep 01 14:52:31 CDT 2004 java.lang.OutOfMemoryError !ENTRY com.ibm.etools.validation 4 0 Sep 01, 2004 14:52:31.430 !MESSAGE *** ERROR ***: Wed Sep 01 14:52:31 CDT 2004 java.lang.InstantiationException: IWAE0019E Cannot instantiate validator com.ibm.etools.validation.dtd.internal.ui.eclipse.Validator. Disabling the validator; read the log for details.
I can successfully build this exact same project in Eclipse 2.1 and MyEclipse 2.7 GA.
Any thoughts?
Riyad KallaMemberEclipse 3.0 especially with the new ME 3.8 requires quite a bit more memory, I would suggest adding -vmargs -Xmx256m to your shortcut for Eclipse to give it a little more memory. Sorry for the inconvenience, we are focused on profiling and performance optimizations for 3.8.2
sjonesMemberI’ve already tried that. My current shortcut to start eclipse looks like this:
C:\eclipse\eclipse.exe -clean -vm C:\eclipse\jdk\bin\javaw.exe -vmargs -Xms128m -Xmx512m
I recently got the message again and it appears to be in the JSP Validation. I got this message just before eclipse died:
Validation of Vest_Web by JSP Validator ended abnormally. The list of problems may be incomplete. Please check the information messages for the cause of the abnormal termination
I don’t know where the information messages are located. The Eclipse log file contained this
!SESSION Sep 01, 2004 15:43:44.644 --------------------------------------------- eclipse.buildId=I200406251208 java.version=1.4.2_05 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US !ENTRY com.ibm.etools.validation 4 0 Sep 01, 2004 15:43:44.644 !MESSAGE *** ERROR ***: Wed Sep 01 15:43:44 CDT 2004 java.lang.OutOfMemoryError !ENTRY org.eclipse.core.runtime 4 2 Sep 01, 2004 15:44:02.396 !MESSAGE An internal error occurred during: "Building workspace". !STACK 0 java.lang.OutOfMemoryError
Nearly the same stack trace as before.
Riyad KallaMemberWhat is your Build ID for MyEclipse form the Window > Prefs > MyEclipse page? This is similar to waht the indexer was doing to memory before we disabled it in 3.8.1…
sjonesMemberVersion: 3.8.1
Build Id: 200408201200-3.8.1
Riyad KallaMemberHead here and apply Quick Fix 3 please: http://myeclipseide.com/PNphpBB2+file-viewtopic-t-3515.html
sjonesMemberI applied the Quick Fix – No change still getting the same error
!ENTRY com.ibm.etools.validation 4 0 Sep 02, 2004 12:02:28.152 !MESSAGE *** ERROR ***: Thu Sep 02 12:02:28 CDT 2004 java.lang.OutOfMemoryError !ENTRY org.eclipse.core.runtime 4 2 Sep 02, 2004 12:02:38.518 !MESSAGE An internal error occurred during: "Building workspace". !STACK 0 java.lang.OutOfMemoryError !SESSION Sep 02, 2004 12:18:21.928 --------------------------------------------- eclipse.buildId=I200406251208 java.version=1.4.2_05 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US !ENTRY com.ibm.etools.validation 4 0 Sep 02, 2004 12:18:21.928 !MESSAGE *** ERROR ***: Thu Sep 02 12:18:21 CDT 2004 java.lang.OutOfMemoryError !ENTRY com.ibm.etools.validation 4 0 Sep 02, 2004 12:18:26.385 !MESSAGE *** ERROR ***: Thu Sep 02 12:18:26 CDT 2004 java.lang.OutOfMemoryError
Any other ideas?
Can I disable the validators/builders specific to ibm.etools.validation?
sjonesMemberHere’s another error message from the log file.
*** ERROR ***: Thu Sep 02 12:39:49 CDT 2004 java.lang.OutOfMemoryError !ENTRY com.rational.clearcase 4 0 Sep 02, 2004 12:40:06.169 !MESSAGE RSCMService::produce:Error occured !STACK 0 java.lang.OutOfMemoryError !ENTRY com.rational.clearcase 4 0 Sep 02, 2004 12:41:05.772 !MESSAGE RSCMService::produce:Error occured !STACK 0 java.lang.OutOfMemoryError
Riyad KallaMemberCan I disable the validators/builders specific to ibm.etools.validation?
Yes you can do it per project or globally from the Window > Prefs > MyEclipse > Validation menu, I would encourage you to do that as it seems validation is just not going to work nicely on your setup. 3.8.2 release is all about profiling and bug fixes so I hope this release will get you back up and running with automatica validation.
Please note that you can execute validation manually at any time by right clicking on the resource and validating it.
sjonesMemberAnother interesting note. In Eclipse 2.1 (MyEclispe 2.7), I notice the following information is displayed when right clicking on a project > Properties > External Tools Builders, I see the following list
WebClasspthBuilder Java Builder J2EEProjectValidator DeploymentDescriptorValidator Missing builder (com.ibm.sse.model.structuredbuilder) Missing builder (com.ibm.etools.validation.validationbuilder) DeploymentBuilder
It looks like the ibm.etools Validtor and structuredbuilder never got loaded in Eclipse 2.1, but are now present in Eclipse 3.0.
I tried deselecting the structuredModelBuilder in Eclipse 3.0 but it kept coming back, and then I would have mulitipe entries, one checked and one or more unchecked.
Bottom line, which of these builders/validators are required to get java and JSP files to compile and deploy upon corresponding source file changes?
Which validators/builders are “nice to haves’ but not required for deployment?
Riyad KallaMemberThe reason the ibm.etools stuff wasn’t in 2.1 is because we didn’t add them until our 3.8 release.
About the builders, please see below:
Java Builder – Eclipse’s builder that does Java compiles and indexing
Structured Document and Model Builder – Our builder that builds the internal
models upon which the structured editors (XML, XSD, JSP, etc) work on.
Enables you to use our additional editors in that project.WebClassPathBuilder – Our builder that updates your classpath when you add
libs to WEB-INF/lib. Can be disabled by preference.J2EEProjectValidator – Our builder that checks the validity of your J2EE
deployment descriptorsNOP JSP Builder – Our builder that does nothing, but is provided for
backward compatibility. It replaces our old JSP builder whose functionality is now handled by the Structured Doc builderDeployment Builder – Our builder that keeps your exploded deployments in
sync when you change stuffValidation – Our builder that revalidates files on save if you have
validation turned on for that particular artifact type.We already have a bug report in to make the structured builder and
validation builder optional for non-MyEclipse projects. -
AuthorPosts