- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
OutOfMemory on `ant test.suite`
Sun, 2011-07-24, 03:44
Hi,
I've been working on some tickets in the Scala compiler and I wanted to run the test suite, and it fails with an OutOfMemory. Example:
https://gist.github.com/d957430516db363fbb48
Any tips would be much appreciated.
Thanks,Mitchell
I've been working on some tickets in the Scala compiler and I wanted to run the test suite, and it fails with an OutOfMemory. Example:
https://gist.github.com/d957430516db363fbb48
Any tips would be much appreciated.
Thanks,Mitchell
Sun, 2011-07-24, 04:27
#2
Re: OutOfMemory on `ant test.suite`
On Saturday, July 23, 2011 8:08:06 PM UTC-7, Kato Kazuyoshi wrote:
On Sun, Jul 24, 2011 at 11:43 AM, Mitchell Hashimoto
<mitchell....@gmail.com> wrote:
> Hi,
> I've been working on some tickets in the Scala compiler and I wanted to run
> the test suite, and it fails with an OutOfMemory. Example:
> https://gist.github.com/d957430516db363fbb48
> Any tips would be much appreciated.
> Thanks,
> Mitchell
>Scala eats much more memory...
When I run the test suite and Scaladoc, I add these flags.% ANT_OPTS="-Xmx2G -XX:MaxPermSize=128m" ant test.suite
This worked. Thanks.
--
Kato Kazuyoshi
On Sun, Jul 24, 2011 at 11:43 AM, Mitchell Hashimoto
wrote:
> Hi,
> I've been working on some tickets in the Scala compiler and I wanted to run
> the test suite, and it fails with an OutOfMemory. Example:
> https://gist.github.com/d957430516db363fbb48
> Any tips would be much appreciated.
> Thanks,
> Mitchell
>
Scala eats much more memory...
When I run the test suite and Scaladoc, I add these flags.
% ANT_OPTS="-Xmx2G -XX:MaxPermSize=128m" ant test.suite