buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Toulme <anto...@lunar-ocean.com>
Subject Re: What would be the best way of allocating more memory to the compiler ?
Date Mon, 14 Sep 2009 17:49:48 GMT
OK, I scrolled down too quickly...
Thanks!

Antoine

On Mon, Sep 14, 2009 at 19:32, Alex Boisvert <boisvert@intalio.com> wrote:

> Yes, documented on both counts.
>
> See http://buildr.apache.org/settings_profiles.html#env_vars
>
>
> On Mon, Sep 14, 2009 at 10:00 AM, Antoine Toulme <antoine@lunar-ocean.com>wrote:
>
>> OK, it worked.
>> Two questions:
>> -was this documented somewhere ? I'd love to read more about this kind of
>> options.
>> -is there a way to add this to the buildfile nonetheless ? Java.load is
>> called only once the projects have been defined, right ? Unless you want to
>> have the same behavior with rjb and jruby ?
>>
>> Thanks,
>>
>> Antoine
>>
>>
>> On Mon, Sep 14, 2009 at 18:53, Alex Boisvert <boisvert@intalio.com>wrote:
>>
>>> Have you tried setting the JAVA_OPTS environment variable?
>>>
>>> export JAVA_OPTS =-Xmx1024m
>>>
>>> javac is called directly in the same JVM (not executed as a separate
>>> process) so compile.options is not applicable here.
>>>
>>> alex
>>>
>>>
>>>
>>> On Mon, Sep 14, 2009 at 6:37 AM, Antoine Toulme <antoine@lunar-ocean.com
>>> > wrote:
>>>
>>>> I tried:compile.options.other = ["-J-Xmx512m"]
>>>>
>>>> but for some reason it is not accepted by the compiler.
>>>>
>>>> Am I missing something obvious here ?
>>>>
>>>> Thanks,
>>>>
>>>> Antoine
>>>>
>>>
>>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message