Again having troubles with such errors recently but strangely that fix
didn't help.
Instead, the only workaround I found was to hack the build.xml file
and add a memorymaximumsize="1024m"
attribute to the apt element inside the compile-jruby task. Then it worked...

Hope this helps.

Raphaël Valyi


On Sat, Aug 30, 2008 at 2:02 AM, Raphaël Valyi <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> So as I got the out of memory issue when compiling JRuby with the
> following jdk7's (builds 32,  33 and 34), I found a workaround
> allowing more memory. I tried a veriety of hacks in the apt ant task
> but the only thing that worked for me was to set execute that Linux
> command >export ANT_OPTS="-Xms512m -Xmx512m" before starting any JRuby
> ant compilation tag.
>
> Hope this helps.
>
> Raphaël Valyi.
>
>
> On Sun, Aug 10, 2008 at 6:12 PM, Raphaël Valyi <[EMAIL PROTECTED]> wrote:
>> On Fri, Aug 8, 2008 at 11:47 PM, Charles Oliver Nutter
>> <[EMAIL PROTECTED]> wrote:
>>> Thanks for the update Raphael. If you can figure out what in that JDK7 build
>>> is causing it we'd certainly be willing to look into it. I do have IcedTea
>>> builds running on the CI machine, but I imagine they're not up to dated with
>>> the latest OpenJDK7 stuff.
>>
>> Hi Charlie,
>>
>> I tried with JDK7 builds 30 and 31 and had no problem. But as soon as
>> I try that 'jar-complete' task with the build 32, I'm getting that
>> error I reported to you.
>> My environment is:
>> Ubuntu Hardy Heron, kernel 2.6.24-19-generic
>> hardware Dell Instpiron 640m, dual core Intel(R) Core(TM)2 CPU  T5500  @ 
>> 1.66GHz
>> 1,5 Go of RAM.
>>
>> You could probably tell your Sun colleagues to have a look at that then.
>>
>> Thank you for your work with JRuby.
>>
>> Raphaël Valyi.
>>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to