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.fedo...@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.hind...@googlemail.com> wrote: > > > > In message <91eb52451002061053k5a56c54dma03e904342fea...@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/ >