Some of the xdoclet tasks run out of memory with less that 640mb.  They
read and parse the entire module source into some sort of AST.

david jencks

On 2002.10.18 17:53:40 -0400 Matt Munz wrote:
> 
> > Does setting -Xms640m help/resolve the problems you are having on
> win32?
> 
> Haven't tried it yet, as things are working alright for me at the moment.
> Does the build system really require 640 MB of ram, or is there a JVM bug
> that this setting resolves?
> 
> It seems to me that a linear build system should not require much memory
> if
> the tasks are sufficiently self-contained -- allocate memory for the
> task,
> run the task, gc the task, repeat.  I imagine that the third step is not
> happening often enough if the build requires 640 MB...
> 
>   - Matt
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:jboss-development-admin@;lists.sourceforge.net]On Behalf Of Jason
> Dillon
> Sent: Friday, October 18, 2002 5:36 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-dev] developing on windows
> 
> 
> Does setting -Xms640m help/resolve the problems you are having on win32?
> 
> --jason
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:jboss-
> > [EMAIL PROTECTED]] On Behalf Of Matt Munz
> > Sent: Friday, October 18, 2002 2:24 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-dev] developing on windows
> >
> > Alex,
> >
> >   I have had the same problems -- you are not alone.  As long as I
> don't
> > "clean", once I have a good build (usually the third try), the
> problems go
> > away.
> >
> >   It seems like a memory problem to me too.  Perhaps someone should
> run
> > the
> > build system using a profiler ;)  One of the ant tasks probably
> leaks...
> >
> >   - Matt
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:jboss-development-admin@;lists.sourceforge.net]On Behalf Of
> Alex
> > Loubyansky
> > Sent: Friday, October 18, 2002 5:03 PM
> > To: JBoss-Dev
> > Subject: [JBoss-dev] developing on windows
> >
> >
> > Developing on Windows became a nightmare.
> > Sometimes to bulid the server or run a testsuite I need to run
> > build.bat several times.
> > The worst thing it fails with so dreadful errors. It's hard to
> > determine whether I did something wrong or not enough memory.
> > I am on
> > P4, 1.7GHz, 512M
> > Win2K SP2
> > Sun JDK1.3.1_01
> >
> > in scripts I add -Xmx640m.
> >
> > Is it only me facing it? Any workarounds?
> >
> > Thanks.
> >
> > alex
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:
> Access Your PC Securely with GoToMyPC. Try Free Now
> https://www.gotomypc.com/s/OSND/DD
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to