The following comment has been added to this issue:

     Author: Adam Brod
    Created: Fri, 8 Jul 2005 9:52 AM
       Body:
Hey Guys-

I just tested this with Eclipse 3.1, Ant 1.6.5 and XDoclet 1.2.3 and there is 
definitely still a memory leak.  Each time I run our script (inside the IDE 
vm), Eclipse takes an additional 10-15 megs of ram.  As reported to me by 
Windows Task Manager.

Our script scans about 100 EJB files and generates EJB delegates.  So I can 
definitely believe the script would take a lot of memory to run; however, it is 
never released when run inside the IDE vm.

I'm running Windows XP sp2 and JDK 1.4.2_05.

I hope this helps.

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

---------------------------------------------------------------------
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: Fri, 8 Jul 2005 9:52 AM
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



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to