Peter,

Thanks for your quick reply!

I tried your suggestion by setting project.test.compile.fork=true in my
user.properties file. I'm pretty sure that this should have the same effect.
Unfortunately, however, this did not do the trick.

What exactly does "fork" do? Does it fork per project? Per package? Per
test?

If it is only per project, then I'm in trouble, because even when only
compiling this one project, I'm getting the error. Is there any way of
making it fork for each test? Or perhaps for a specific, more
memory-intensive test?



Thanks!
Dave




> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 4 October 2004 21:50
> To: [EMAIL PROTECTED]
> Subject: SV: OutOfMemoryError when running unit tests
>
>
> Hi David,
> this should be fixed by running the tests forked. I submitted a patch for
> that for some days ago, which is applied, so you just build a new magic by
> issuing "ant update" in ../avalon/tools/magic
>
> Then, you could set the project.test.compile.fork to true, we do it in the
> standard.xml (I attach it as standard.txt) in the dotest target,
> so we have
> it set globally.
>
> Cheers
>
> /peter
>
> > -----Ursprungligt meddelande-----
> > Från: David Leangen [mailto:[EMAIL PROTECTED]
> > Skickat: den 4 oktober 2004 14:12
> > Till: [EMAIL PROTECTED]
> > Ämne: OutOfMemoryError when running unit tests
> >
> >
> >
> > Hello,
> >
> > I am getting an OutOfMemoryError when running my unit tests.
> >
> > I am only having this problem when running the tests using
> > Magic. Each of
> > the tests pass individually. I can also run various packages of tests
> > grouped together. Without trying every possible combination,
> > generally the
> > error only occurs when I run tests in all my packages.
> >
> >
> > Any suggestions?
> >
> >
> > Thanks!
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to