Re: Unable to build harmony.

2007-02-02 Thread Tim Ellison
Egor Pasko wrote:
> On the 0x270 day of Apache Harmony Kalpak Gadre wrote:
>> Hi,
>>
>> I am trying to build the harmony and the ant keeps failing with
>> OutOfMemoryError. But I am able to build classlib, vm separately. It
>> only fails when I try to build from the root. I am following the
>> instructions on the Getting started for contributers section.
> 
> try {
> export ANT_OPTS="-Xms256M -Xmx512M";
> }finally{
> report_back();
> }

LOL -- you need to take a break ;-)

Tim


Re: Unable to build harmony.

2007-02-01 Thread Kalpak Gadre

Geir Magnusson Jr. wrote:
Ok - I updated w/ a small note on the quickhelp page for 
contributors.  It may take a few hours to reach production server.  
Please take a look when its there.


THanks for bringing this up.  Hope your builds are going well :)

geir

On Feb 1, 2007, at 11:55 AM, Geir Magnusson Jr. wrote:



On Feb 1, 2007, at 11:48 AM, Kalpak Gadre wrote:


Gregory Shimansky wrote:

Kalpak Gadre wrote:

Hi,

I am trying to build the harmony and the ant keeps failing with 
OutOfMemoryError. But I am able to build classlib, vm separately. 
It only fails when I try to build from the root. I am following 
the instructions on the Getting started for contributers section.


Try increasing Ant heap size by setting ANT_OPTS='-Xms256m 
-Xmx512m'. I think we should document it if it isn't mentioned 
anywhere.



Thanks,

It worked, Where do you think should we doc this? same page? Maybe I 
can generate patch for that :)


Which page were you reading?  I'm updating the site now, and happy to 
add it.


geir




Kalpak






Thanks Geir,

Cheers,

Kalpak


Re: Unable to build harmony.

2007-02-01 Thread Geir Magnusson Jr.
Ok - I updated w/ a small note on the quickhelp page for  
contributors.  It may take a few hours to reach production server.   
Please take a look when its there.


THanks for bringing this up.  Hope your builds are going well :)

geir

On Feb 1, 2007, at 11:55 AM, Geir Magnusson Jr. wrote:



On Feb 1, 2007, at 11:48 AM, Kalpak Gadre wrote:


Gregory Shimansky wrote:

Kalpak Gadre wrote:

Hi,

I am trying to build the harmony and the ant keeps failing with  
OutOfMemoryError. But I am able to build classlib, vm  
separately. It only fails when I try to build from the root. I  
am following the instructions on the Getting started for  
contributers section.


Try increasing Ant heap size by setting ANT_OPTS='-Xms256m - 
Xmx512m'. I think we should document it if it isn't mentioned  
anywhere.



Thanks,

It worked, Where do you think should we doc this? same page? Maybe  
I can generate patch for that :)


Which page were you reading?  I'm updating the site now, and happy  
to add it.


geir




Kalpak






Re: Unable to build harmony.

2007-02-01 Thread Kalpak Gadre

Gregory Shimansky wrote:

Kalpak Gadre wrote:

Hi,

I am trying to build the harmony and the ant keeps failing with 
OutOfMemoryError. But I am able to build classlib, vm separately. It 
only fails when I try to build from the root. I am following the 
instructions on the Getting started for contributers section.


Try increasing Ant heap size by setting ANT_OPTS='-Xms256m -Xmx512m'. 
I think we should document it if it isn't mentioned anywhere.



Thanks,

It worked, Where do you think should we doc this? same page? Maybe I can 
generate patch for that :)


Kalpak


Re: Unable to build harmony.

2007-02-01 Thread Geir Magnusson Jr.


On Feb 1, 2007, at 11:48 AM, Kalpak Gadre wrote:


Gregory Shimansky wrote:

Kalpak Gadre wrote:

Hi,

I am trying to build the harmony and the ant keeps failing with  
OutOfMemoryError. But I am able to build classlib, vm separately.  
It only fails when I try to build from the root. I am following  
the instructions on the Getting started for contributers section.


Try increasing Ant heap size by setting ANT_OPTS='-Xms256m - 
Xmx512m'. I think we should document it if it isn't mentioned  
anywhere.



Thanks,

It worked, Where do you think should we doc this? same page? Maybe  
I can generate patch for that :)


Which page were you reading?  I'm updating the site now, and happy to  
add it.


geir




Kalpak




Re: Unable to build harmony.

2007-02-01 Thread Egor Pasko
On the 0x270 day of Apache Harmony Kalpak Gadre wrote:
> Hi,
> 
> I am trying to build the harmony and the ant keeps failing with
> OutOfMemoryError. But I am able to build classlib, vm separately. It
> only fails when I try to build from the root. I am following the
> instructions on the Getting started for contributers section.

try {
export ANT_OPTS="-Xms256M -Xmx512M";
}finally{
report_back();
}

-- 
Egor Pasko



Re: Unable to build harmony.

2007-02-01 Thread Alexey Petrenko

2007/2/1, Kalpak Gadre <[EMAIL PROTECTED]>:

Gregory Shimansky wrote:
> Kalpak Gadre wrote:
>> Hi,
>>
>> I am trying to build the harmony and the ant keeps failing with
>> OutOfMemoryError. But I am able to build classlib, vm separately. It
>> only fails when I try to build from the root. I am following the
>> instructions on the Getting started for contributers section.
>
> Try increasing Ant heap size by setting ANT_OPTS='-Xms256m -Xmx512m'.
> I think we should document it if it isn't mentioned anywhere.
>
Thanks,

It worked, Where do you think should we doc this? same page? Maybe I can
generate patch for that :)

Sure, open the JIRA issue and attach a patch.

Thanks in advance.

SY, Alexey


Re: Unable to build harmony.

2007-02-01 Thread Gregory Shimansky

Kalpak Gadre wrote:

Hi,

I am trying to build the harmony and the ant keeps failing with 
OutOfMemoryError. But I am able to build classlib, vm separately. It 
only fails when I try to build from the root. I am following the 
instructions on the Getting started for contributers section.


Try increasing Ant heap size by setting ANT_OPTS='-Xms256m -Xmx512m'. I 
think we should document it if it isn't mentioned anywhere.


--
Gregory