set ANT_OPTS= "-Xms256M -Xmx512M" failed: invalid initial heap size set ANT_OPTS= "-Xmx512M" - success!!
thanks, Alexei On Wed, Sep 16, 2009 at 9:31 AM, chunrong lai <chunrong...@gmail.com> wrote: > I can build VTS. I also think that we should set ANT_OPTS as > "-Xms256M -Xmx512M" or even "-Xms512M -Xmx1024M" > before trying to set an extra "-XX:MaxPermSize" (not same as -Xmx). > Thanks. > > On Tue, Sep 15, 2009 at 10:48 PM, Alexei Kaigorodov < > alexei.kaigoro...@googlemail.com> wrote: > >> I am trying to build VM tests on Windows XP, following the >> buildtest\trunk\tests\vts\vm\Readme.txt. >> >> I cannot pass the step 5): >> and finally to build and run the suite: >> >> > ant build-vts >> >> because of OutOfmemory error. >> >> Actually I used >> ant -Dnonative=true build-vts >> >> Attempt to set ANT_OPTS="-XX:MaxPermSize=1536m" >> did not help. Greater sizes are not allowed on my machine. >> >> Is there any fix to the problem? >> >> thanks, >> Alexei >> >