RE: [JBoss-dev] developing on windows

2002-10-18 Thread Jason Dillon
I am not really sure how much memory it needs to function.

--jason


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:jboss-
> [EMAIL PROTECTED]] On Behalf Of Matt Munz
> Sent: Friday, October 18, 2002 2:54 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-dev] developing on windows
> 
> 
> > 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



Re: [JBoss-dev] developing on windows

2002-10-18 Thread David Jencks
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



RE: [JBoss-dev] developing on windows

2002-10-19 Thread Matt Munz
Could some sort of caching be used here, where only the part of the tree
that is being viewed (and its surrounding context) is in memory, and the
rest is written to disk? ... Just an idea -- I'm unfamiliar with xdoclet.

  - Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:jboss-development-admin@;lists.sourceforge.net]On Behalf Of David
Jencks
Sent: Friday, October 18, 2002 8:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-dev] developing on windows


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
>
>


---

Re: [JBoss-dev] developing on windows

2002-10-19 Thread David Jencks
I'm not yet convinced there is a problem.  I haven't found one xdoclet task
to take an inordinate amount of time (when it is actually doing some work),
even if it needs the -X...640.  This is on a relatively slow (PIII 600 mhz)
low memory (256 mb) machine.  What does take a lot of time is running
xdoclet hundreds of times, as in the testsuite compile.

It does take an annoying amount of time if there are no changed files.

I think we should make a flag file that we can do an uptodate check on to
completely avoid calling xdoclet if no changes have occurred since the last
compile.

david jencks


On 2002.10.19 10:36:21 -0400 Matt Munz wrote:
> Could some sort of caching be used here, where only the part of the tree
> that is being viewed (and its surrounding context) is in memory, and the
> rest is written to disk? ... Just an idea -- I'm unfamiliar with xdoclet.
> 
>   - Matt
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:jboss-development-admin@;lists.sourceforge.net]On Behalf Of David
> Jencks
> Sent: Friday, October 18, 2002 8:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] developing on windows
> 
> 
> 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