The following comment has been added to this issue:

     Author: Adam Brod
    Created: Thu, 24 Feb 2005 3:45 PM
       Body:
I am getting OutOfMemory errors in Eclipse 3.1 M5 with XDoclet 1.2.2 when 
running xdoclet and ejbdoclet targets (through Ant).

The workaround in Eclipse 3.x is to run Ant in a separate JVM.  Unfortunately 
for me, I need to run Ant from inside the Eclipse JVM.

I hope you can fix this soon xdoclet team!

Adam
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-419?page=comments#action_16017

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-419

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-419
    Summary: memory leak when running within IDE
       Type: Bug

     Status: Open
   Priority: Critical

 Original Estimate: 0 minutes
 Time Spent: Unknown
  Remaining: 0 minutes

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2 Beta 2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Konrad Hosemann

    Created: Wed, 2 Apr 2003 4:30 AM
    Updated: Thu, 24 Feb 2005 3:45 PM
Environment: - NetBeans 3.4.1, Linux, Blackdown 1.4.1_01 || Sun 1.4.1_02 || Sun 
1.4.0_02
- Eclipse 2.1, Win XP, Sun 1.4.1_02

Description:
2-5 MB leak (watched with ps on Linux and Taskmanager on Win) every time 
xdoclet is run from an ant script within the IDE. After several times IDE dies 
with an OutofMemoryError when trying to start the xdoclet task.

<target depends="init" name="ejbdoclet">
    <taskdef classname="xdoclet.modules.ejb.EjbDocletTask" name="ejbdoclet">
        <classpath refid="xdoclet.classpath"/>
    </taskdef>
    <ejbdoclet destdir="${srcdir}" ejbspec="2.0" 
excludedtags="@version,@author" force="${xdoclet.force}">
        <fileset dir="${srcdir}">
            <include name="**/*Bean.java"/>
        </fileset>
        <packageSubstitution packages="ejb" substituteWith="interfaces"/>
        <dataobject/>
        <remoteinterface/>
        <localinterface/>
        <homeinterface/>
        <localhomeinterface/>
        <entitypk/>
        <entitycmp/>
        <utilobject cacheHomes="true" kind="physical"/>
        <deploymentdescriptor destdir="${builddir}/META-INF"/>
        <jboss datasource="java:/DefaultDS" 
               destdir="${builddir}/META-INF"
               typemapping="PostgreSQL"
               version="3.0"
               xmlencoding="UTF-8"
               securityDomain="java:/jaas/episemaction"/>
    </ejbdoclet>
</target>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to