I have had no problems building on Linux with 1.3.1 and 1.4, though my laptop 
has 512, but that should not matter really.

Eventually we will have everything listed... in fact we have a similar include 
for the javac task, so perhaps XDoclet needs to be fixed to not cache so much 
data at one (or whatever).

I changed this because I was in the process of moving more stuff to use 
XDoclet generated MBeans and did not want to keep maintaining the list of 
files to included.

Have you tried increasing the heap for the vm used to build?  I would prefer 
that local fix to this global one.

JAVA_OPTS="-X128m" build/build.sh

Or whatever you want for -X, and to make sure it really works:

ANT_DEBUG=true JAVA_OPTS="-X128m" build/build.sh

Should show the java command line which is used.

--jason


On Saturday 25 May 2002 08:54 pm, Francisco Reverbel wrote:
> Found the cause: a recent change on server/build.xml made xdoclet
> to be called on a fileset too big (name="**/*.java").
>
> I will revert the change. But it is strange that nobody else saw
> this... I have tried two Linux machines (a laptop with 128M and a
> box with 384M) with the same result: xdoclet barfed on the big
> fileset. Maybe there is something in my Linux environment that made
> me run out of memory before anybody else.
>
> Cheers,
>
> Francisco
>
> On Sat, 25 May 2002, Francisco Reverbel wrote:
> > Help!
> >
> > I am running build/build.sh on HEAD and Branch_3_0 trees just
> > checked out from CVS. On both trees build fails within xdoclet:
> >
> >   java.lang.OutOfMemoryError: unable to create new native thread
> >
> > (Branch 3.0 error included below.)
> >
> > Both Sun and IBM JDKs are giving me the same error. My config is:
> >
> >   Linux pong 2.4.10 #1 Sun Oct 14 23:31:01 BRST 2001 i686 unknown
> >
> >   Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
> >   Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)
> >
> >   Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
> >   Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010626 (JIT
> >   enabled: jitc))
> >
> > Is anybody else seeing this?
> >
> > Thanks,
> >
> > Francisco
> >
> > ------------------------------------------------------------
> >
> >    ======================================================================
> >     ==  Executing 'most' in module 'server'...
> >     ==
> >
> > _buildmagic:init:
> >
> > configure:
> >
> > init:
> >
> > generate-parsers:
> > Target is already built - skipping
> > (/home/reverbel/Branch_3_0/jboss-all/server/\
> > src/main/org/jboss/ejb/plugins/cmp/ejbql/JBossQLParser.jjt)
> > Target is already built - skipping
> > (/home/reverbel/Branch_3_0/jboss-all/server/\
> > src/main/org/jboss/ejb/plugins/cmp/ejbql/EJBQLParser.jjt)
> >
> > compile-bean-sources:
> > sourcepath is deprecated. the preferred way to design sources is via
> > nested <fi\
> > leset>
> > Running xdoclet.XDocletMain loaded by
> > sun.misc.Launcher$AppClassLoader. Forked:\
> > true
> >   [xdoclet] Running <homeInterface/>
> >   [xdoclet] Running <remoteInterface/>
> >   [xdoclet] Running <session/>
> >   [xdoclet] Running <deploymentDescriptor/>
> >   [xdoclet] Running <jboss/>
> >
> > compile-mbean-sources:
> > sourcepath is deprecated. the preferred way to design sources is via
> > nested <fi\
> > leset>
> > Running xdoclet.XDocletMain loaded by
> > sun.misc.Launcher$AppClassLoader. Forked:\
> > true
> >   [xdoclet] Running <mbeanInterface/>
> >   [xdoclet] java.lang.OutOfMemoryError: unable to create new native
> > thread [xdoclet]     at java.lang.Thread.start(Native Method)
> >   [xdoclet]     at xjavadoc.XJavaDoc.scanAndPut(XJavaDoc.java:562)
> >   [xdoclet]     at xjavadoc.XJavaDoc.getXClass(XJavaDoc.java:393)
> >   [xdoclet]     at xjavadoc.ProxyClass.resolve(ProxyClass.java:584)
> >   [xdoclet]     at xjavadoc.ProxyClass.doc(ProxyClass.java:483)
> >   [xdoclet]     at
> > xdoclet.DocletSupport.isDocletGenerated(DocletSupport.java:2\
> > 69)
> >   [xdoclet]     at
> > xdoclet.TemplateSubTask.matchesGenerationRules(TemplateSubTa\
> > sk.java:633)
> >   [xdoclet]     at
> > xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:57\
> > 6)
> >   [xdoclet]     at
> > xdoclet.TemplateSubTask.execute(TemplateSubTask.java:488) [xdoclet]    
> > at xdoclet.XDocletMain.start(XDocletMain.java:54) [xdoclet]     at
> > xjavadoc.ant.XJavaDocMain.main(XJavaDocMain.java:94)
> >
> > Is anybody else seeing this? I am on Linux
> >
> >
> >
> >
> > _______________________________________________________________
> >
> > Don't miss the 2002 Sprint PCS Application Developer's Conference
> > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to