harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Fedotov <alexei.fedo...@gmail.com>
Subject Re: Google Summer of Code 2010 : Please Advice
Date Mon, 08 Feb 2010 13:50:27 GMT
Could it be that your virtual VM does not have enough memory?


2010/2/8 Hrishikesh Gadre <ds.hgadre@gmail.com>:
> yes, but with a smaller values -Xms256m -Xmx512m
>
> 2010/2/8 Alexei Fedotov <alexei.fedotov@gmail.com>
>
>> > of execution) failed due to an OutOfMemoryError.
>>
>> Have you set ANT_OPTS= this time?
>>
>> >> >> increase the heap size. I increased the memory setting to -Xms512m
>> >> >> -Xmx1024m. Still no luck.
>>
>>
>>
>> 2010/2/8 Hrishikesh Gadre <ds.hgadre@gmail.com>:
>> > Hi Alexei,
>> >
>> > You are right. Earlier I was using GCJ compiler for build and had a lot
>> of
>> > problems. Once I switched to Sun Java 6 compiler, I could successfully
>> > complete the federated build. I also compiled/executed some sample
>> programs
>> > successfully using the Harmony JDK.
>> >
>> > Then I tried to execute test suite for Harmony which (after couple of
>> hours
>> > of execution) failed due to an OutOfMemoryError. Here I tried to execute
>> the
>> > ANT test task from the top level (federated) ANT script.
>> >
>> > BTW, I am using a Ubuntu 9.10 VMWare image (i686) on Windows VISTA for
>> the
>> > Harmony build (configured RAM => 1GB). I hope this configuration should
>> be
>> > ok.
>> >
>> > Thanks
>> > Hrishi
>> >
>> >
>> > 2010/2/7 Alexei Fedotov <alexei.fedotov@gmail.com>
>> >
>> >> Please check that you are not using gcj to build the Harmony.
>> >> You can use Sun's java to compile Harmony - just install appropriate
>> >> packages.
>> >>
>> >>
>> >>
>> >> On Sun, Feb 7, 2010 at 1:54 PM, Mark Hindess
>> >> <mark.hindess@googlemail.com> wrote:
>> >> >
>> >> > In message <
>> 91eb52451002061053k5a56c54dma03e904342fead22@mail.gmail.com
>> >> >,
>> >> > Hrishikesh Gadre writes:
>> >> >>
>> >> >> Hi All,
>> >> >>
>> >> >> I have been trying to setup Harmony on my laptop without success.
I
>> am
>> >> >> consistently getting following warning during the compilation of
the
>> >> >> classlibs.
>> >> >>
>> >> >> -compile:
>> >> >>  [hy.javac] Compiling 3617 source files to
>> >> >> /home/vadmin/Harmony/trunk/working_classlib/build/classes
>> >> >> GC Warning: Repeated allocation of very large block (appr. size
>> 651264):
>> >> >>     May lead to memory leak and poor performance.
>> >> >>
>> >> >> As per the instructions on the website, we are supposed to
>> >> >> increase the heap size. I increased the memory setting to -Xms512m
>> >> >> -Xmx1024m. Still no luck.
>> >> >>
>> >> >> Please let me know if you have any suggestions!
>> >> >
>> >> > Hrishi,
>> >> >
>> >> > I don't recall seeing that before.  What OS are you using?  What
is
>> your
>> >> > "java -version" output?  I tend to build with either Harmony or Sun
>> >> > 6.0 JRE so you could try building with one of those?
>> >> >
>> >> > Regards,
>> >> >  Mark.
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> With best regards / с наилучшими пожеланиями,
>> >> Alexei Fedotov / Алексей Федотов,
>> >> http://www.telecom-express.ru/
>> >> http://harmony.apache.org/
>> >> http://www.expressaas.com/
>> >> http://openmeetings.googlecode.com/
>> >>
>> >
>>
>>
>>
>> --
>> With best regards / с наилучшими пожеланиями,
>> Alexei Fedotov / Алексей Федотов,
>> http://www.telecom-express.ru/
>> http://harmony.apache.org/
>> http://www.expressaas.com/
>> http://openmeetings.googlecode.com/
>>
>



-- 
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://www.telecom-express.ru/
http://harmony.apache.org/
http://www.expressaas.com/
http://openmeetings.googlecode.com/

Mime
View raw message