- This topic has 6 replies, 3 voices, and was last updated 20 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
navisMemberHi,
When i ran Build project, the xodclet-build.xml was getting run multiple times. My Eclipse got hanged. OutOfMemoryError. I thought this is 1 time problem. Closed Eclipse and started again.
Still the same problem. Then i started probing and found the problem in .project file.
Please find attached the .project file.
If you notice carefully, that the following tag is repeated several times. Now, when i build the project, Eclipse will invoke this command repetetively and hogs up entire memory till the time it throws OutOf MemoryError. I can’t understand why there are repeated tags.
When i remove all those extra tags and ran the “build project”. It works excellent. No OutOfMemory Error.
=========================
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0"encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
===========================Now, i wonder why and how those extra tags got added?
This is a serious problem for me as i just noticed this problem in 3 of my .project files. In other 2 .project files, there was only 1 duplicate tag so i didn’t notice.
Please clear this issue. Hope to hear soon.
navisMemberbtw, how can i attach a file?
Anyway, it is inline here.
====================================
<?xml version=”1.0″ encoding=”UTF-8″?>
<projectDescription>
<name>ShopWeb</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand><buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration local="false" path="/ShopWeb/.externalToolBuilders/XDoclet Builder.launch"/>
</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>de.bb.bje.eclipse.IncrementalJspBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature</nature>
</natures>
</projectDescription>
Riyad KallaMemberNavjot,
This is very strange, we will look into it ASAP. Thank you for the report.
Scott AndersonParticipantThis looks like a case of an API behaving differently in 3.0 than it did in 2.1. I’ve logged it as a bug so we can fix it before the next beta. If you have any more details on exactly when the new buildsers get added, that would be great.
navisMemberI have just cleared all the duplicate tags. I will keep a close eye if i observe the behaviour again.
Now sure, but may be it has something to do with “project references” / project dependencies.Will revert ifget across somehting very concrete.
Riyad KallaMemberThank you for the help finding this Navjot.
Riyad KallaMemberFixed in 3.8Beta2.
-
AuthorPosts